SecretReferenceConfigurationSetting Class
- java.
lang. Object - com.
azure. data. appconfiguration. models. ConfigurationSetting - com.
azure. data. appconfiguration. models. SecretReferenceConfigurationSetting
- com.
- com.
public final class SecretReferenceConfigurationSetting
extends ConfigurationSetting
SecretReferenceConfigurationSetting model. It represents a configuration setting that references as KeyVault secret.
Constructor Summary
Constructor | Description |
---|---|
SecretReferenceConfigurationSetting(String key, String secretId) |
The constructor for a secret reference configuration setting. |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
getSecretId()
Get the secret ID value of this configuration setting. |
String |
getValue()
Gets the value of this configuration setting. |
Secret |
setContentType(String contentType)
Sets the content type. |
Secret |
setETag(String etag)
Sets the ETag for this configuration setting. |
Secret |
setKey(String key)
Sets the key of this setting. |
Secret |
setLabel(String label)
Sets the label of this configuration setting. |
Secret |
setSecretId(String secretId)
Set the secret ID value of this configuration setting. |
Secret |
setTags(Map<String,String> tags)
Sets the tags for this configuration setting. |
Secret |
setValue(String value)
Sets the value of this setting. |
Methods inherited from ConfigurationSetting
Methods inherited from java.lang.Object
Constructor Details
SecretReferenceConfigurationSetting
public SecretReferenceConfigurationSetting(String key, String secretId)
The constructor for a secret reference configuration setting.
Parameters:
Method Details
getSecretId
public String getSecretId()
Get the secret ID value of this configuration setting.
Returns:
getValue
public String getValue()
Gets the value of this configuration setting.
Overrides:
SecretReferenceConfigurationSetting.getValue()setContentType
public SecretReferenceConfigurationSetting setContentType(String contentType)
Sets the content type. By default, the content type is null.
Overrides:
SecretReferenceConfigurationSetting.setContentType(String contentType)Parameters:
Returns:
setETag
public SecretReferenceConfigurationSetting setETag(String etag)
Sets the ETag for this configuration setting.
Overrides:
SecretReferenceConfigurationSetting.setETag(String etag)Parameters:
Returns:
setKey
public SecretReferenceConfigurationSetting setKey(String key)
Sets the key of this setting.
Overrides:
SecretReferenceConfigurationSetting.setKey(String key)Parameters:
Returns:
setLabel
public SecretReferenceConfigurationSetting setLabel(String label)
Sets the label of this configuration setting. #NO_LABEL is the default label used when this value is not set.
Overrides:
SecretReferenceConfigurationSetting.setLabel(String label)Parameters:
Returns:
setSecretId
public SecretReferenceConfigurationSetting setSecretId(String secretId)
Set the secret ID value of this configuration setting.
Parameters:
Returns:
setTags
public SecretReferenceConfigurationSetting setTags(Map
Sets the tags for this configuration setting.
Overrides:
SecretReferenceConfigurationSetting.setTags(Map<String,String> tags)Parameters:
Returns:
setValue
public SecretReferenceConfigurationSetting setValue(String value)
Sets the value of this setting.
Overrides:
SecretReferenceConfigurationSetting.setValue(String value)Parameters:
Returns: