Class VcapServiceConfig
- java.lang.Object
-
- com.azure.spring.cloudfoundry.environment.VcapServiceConfig
-
public class VcapServiceConfig extends Object
config class for VcapService
-
-
Constructor Summary
Constructors Constructor Description VcapServiceConfig()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,String>getCredentials()Gets the credentials.StringgetLabel()Gets the label.StringgetName()Gets the service name.StringgetPlan()Gets the plan.StringgetProvider()Gets the provider.StringgetSyslogDrainUrl()Gets the system log drain URL.String[]getTags()Gets the tags.String[]getVolumeMounts()Gets the volume mounts.voidsetCredentials(Map<String,String> credentials)Sets the credentials.voidsetLabel(String label)Sets the label.voidsetName(String serviceName)Sets the service name.voidsetPlan(String plan)Sets the plan.voidsetProvider(String provider)Sets the provider.voidsetSyslogDrainUrl(String syslogDrainUrl)Sets the system log drain URL.voidsetTags(String[] tags)Sets the tags.voidsetVolumeMounts(String[] volumeMounts)Sets the volume mounts.StringtoString()
-
-
-
Method Detail
-
getCredentials
public Map<String,String> getCredentials()
Gets the credentials.- Returns:
- the credentials
-
setCredentials
public void setCredentials(Map<String,String> credentials)
Sets the credentials.- Parameters:
credentials- the credentials
-
getLabel
public String getLabel()
Gets the label.- Returns:
- the label
-
setLabel
public void setLabel(String label)
Sets the label.- Parameters:
label- the label
-
getName
public String getName()
Gets the service name.- Returns:
- the service name
-
setName
public void setName(String serviceName)
Sets the service name.- Parameters:
serviceName- the service name
-
getPlan
public String getPlan()
Gets the plan.- Returns:
- the plan
-
setPlan
public void setPlan(String plan)
Sets the plan.- Parameters:
plan- the plan
-
getProvider
public String getProvider()
Gets the provider.- Returns:
- the provider
-
setProvider
public void setProvider(String provider)
Sets the provider.- Parameters:
provider- the provider
-
getSyslogDrainUrl
public String getSyslogDrainUrl()
Gets the system log drain URL.- Returns:
- the system log drain URL
-
setSyslogDrainUrl
public void setSyslogDrainUrl(String syslogDrainUrl)
Sets the system log drain URL.- Parameters:
syslogDrainUrl- the system log drain URL
-
getTags
public String[] getTags()
Gets the tags.- Returns:
- the tags
-
setTags
public void setTags(String[] tags)
Sets the tags.- Parameters:
tags- the tags
-
getVolumeMounts
public String[] getVolumeMounts()
Gets the volume mounts.- Returns:
- the volume mounts
-
setVolumeMounts
public void setVolumeMounts(String[] volumeMounts)
Sets the volume mounts.- Parameters:
volumeMounts- the volume mounts
-
-