Class SnapshotComposition

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

public final class SnapshotComposition extends com.azure.core.util.ExpandableStringEnum<SnapshotComposition>
The composition type describes how the key-values within the snapshot are composed. The 'key' composition type ensures there are no two key-values containing the same key. The 'key_label' composition type ensures there are no two key-values containing the same key and label.
  • Field Details

    • KEY

      public static final SnapshotComposition KEY
      Static value key for SnapshotComposition.
    • KEY_LABEL

      public static final SnapshotComposition KEY_LABEL
      Static value key_label for SnapshotComposition.
  • Constructor Details

    • SnapshotComposition

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

    • fromString

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

      public static Collection<SnapshotComposition> values()
      Gets known SnapshotComposition values.
      Returns:
      known SnapshotComposition values.