KeyKind Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. management. cosmosdb. KeyKind
- com.
- com.
public final class KeyKind
extends com.microsoft.rest.ExpandableStringEnum<KeyKind>
Defines values for KeyKind.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Key |
PRIMARY
Static value primary for Key |
static final
Key |
PRIMARY_READONLY
Static value primary |
static final
Key |
SECONDARY
Static value secondary for Key |
static final
Key |
SECONDARY_READONLY
Static value secondary |
Constructor Summary
Constructor | Description | |
---|---|---|
KeyKind() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Key |
fromString(String name)
Creates or finds a Key |
static
java.util.Collection<Key |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIMARY
public static final KeyKind PRIMARY
Static value primary for KeyKind.
PRIMARY_READONLY
public static final KeyKind PRIMARY_READONLY
Static value primaryReadonly for KeyKind.
SECONDARY
public static final KeyKind SECONDARY
Static value secondary for KeyKind.
SECONDARY_READONLY
public static final KeyKind SECONDARY_READONLY
Static value secondaryReadonly for KeyKind.
Constructor Details
KeyKind
public KeyKind()
Method Details
fromString
public static KeyKind fromString(String name)
Creates or finds a KeyKind from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for