Class KeyKind
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyKind>
com.azure.resourcemanager.cosmos.models.KeyKind
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The access key to regenerate.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyKind
fromString
(String name) Creates or finds a KeyKind from its string representation.static Collection
<KeyKind> values()
Gets known KeyKind values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
PRIMARY
Static value primary for KeyKind. -
SECONDARY
Static value secondary for KeyKind. -
PRIMARY_READONLY
Static value primaryReadonly for KeyKind. -
SECONDARY_READONLY
Static value secondaryReadonly for KeyKind.
-
-
Constructor Details
-
KeyKind
Deprecated.Use thefromString(String)
factory method.Creates a new instance of KeyKind value.
-
-
Method Details
-
fromString
Creates or finds a KeyKind from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding KeyKind.
-
values
Gets known KeyKind values.- Returns:
- known KeyKind values.
-
fromString(String)
factory method.