Class SettingFields

java.lang.Object
com.azure.core.util.ExpandableStringEnum<SettingFields>
com.azure.data.appconfiguration.models.SettingFields

public final class SettingFields extends com.azure.core.util.ExpandableStringEnum<SettingFields>
Fields in ConfigurationSetting that can be returned from GET queries.
See Also:
  • Field Details

    • KEY

      public static final SettingFields KEY
      Populates the 'key' from the service.
    • LABEL

      public static final SettingFields LABEL
      Populates the 'label' from the service.
    • VALUE

      public static final SettingFields VALUE
      Populates the 'value' from the service.
    • CONTENT_TYPE

      public static final SettingFields CONTENT_TYPE
      Populates the 'content_type' from the service.
    • ETAG

      public static final SettingFields ETAG
      Populates the 'etag' from the service.
    • LAST_MODIFIED

      public static final SettingFields LAST_MODIFIED
      Populates the 'last_modified' from the service.
    • IS_READ_ONLY

      public static final SettingFields IS_READ_ONLY
      Populates the 'locked' from the service.
    • TAGS

      public static final SettingFields TAGS
      Populates the 'tags' from the service.
  • Constructor Details

    • SettingFields

      @Deprecated public SettingFields()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of SettingFields value.
  • Method Details

    • fromString

      public static SettingFields fromString(String name)
      Creates or finds a SettingFields from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding SettingFields
    • values

      public static Collection<SettingFields> values()
      Gets known SettingFields values.
      Returns:
      known SettingFields values.
    • toStringMapper

      @Deprecated public static String toStringMapper(SettingFields field)
      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.