Class SettingFields
java.lang.Object
com.azure.core.util.ExpandableStringEnum<SettingFields>
com.azure.data.appconfiguration.models.SettingFields
Fields in
ConfigurationSetting that can be returned from GET queries.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final SettingFieldsPopulates the 'content_type' from the service.static final SettingFieldsPopulates the 'etag' from the service.static final SettingFieldsPopulates the 'locked' from the service.static final SettingFieldsPopulates the 'key' from the service.static final SettingFieldsPopulates the 'label' from the service.static final SettingFieldsPopulates the 'last_modified' from the service.static final SettingFieldsPopulates the 'tags' from the service.static final SettingFieldsPopulates the 'value' from the service. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SettingFieldsfromString(String name) Creates or finds aSettingFieldsfrom its string representation.static StringtoStringMapper(SettingFields field) Deprecated.This method is no longer needed.static Collection<SettingFields>values()Gets known SettingFields values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
KEY
Populates the 'key' from the service. -
LABEL
Populates the 'label' from the service. -
VALUE
Populates the 'value' from the service. -
CONTENT_TYPE
Populates the 'content_type' from the service. -
ETAG
Populates the 'etag' from the service. -
LAST_MODIFIED
Populates the 'last_modified' from the service. -
IS_READ_ONLY
Populates the 'locked' from the service. -
TAGS
Populates the 'tags' from the service.
-
-
Constructor Details
-
SettingFields
Deprecated.Use thefromString(String)factory method.Creates a new instance of SettingFields value.
-
-
Method Details
-
fromString
Creates or finds aSettingFieldsfrom its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding
SettingFields
-
values
Gets known SettingFields values.- Returns:
- known SettingFields values.
-
toStringMapper
Deprecated.This method is no longer needed. SettingFields is using lower case enum value for the HTTP requests.Converts the SettingFields to a string that is usable for HTTP requests and logging.- Parameters:
field- SettingFields to map.- Returns:
- SettingFields as a lowercase string in the US locale.
-
fromString(String)factory method.