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 Summary
FieldsModifier and TypeFieldDescriptionstatic final SnapshotCompositionStatic value key for SnapshotComposition.static final SnapshotCompositionStatic value key_label for SnapshotComposition. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SnapshotCompositionfromString(String name) Creates or finds a SnapshotComposition from its string representation.static Collection<SnapshotComposition>values()Gets known SnapshotComposition values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
KEY
Static value key for SnapshotComposition. -
KEY_LABEL
Static value key_label for SnapshotComposition.
-
-
Constructor Details
-
SnapshotComposition
Deprecated.Use thefromString(String)factory method.Creates a new instance of SnapshotComposition value.
-
-
Method Details
-
fromString
Creates or finds a SnapshotComposition from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding SnapshotComposition.
-
values
Gets known SnapshotComposition values.- Returns:
- known SnapshotComposition values.
-
fromString(String)factory method.