Kind Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cosmos. models. Kind
- com.
- com.
public final class Kind
extends ExpandableStringEnum<Kind>
Kind of the connection string key.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final Kind |
PRIMARY
Static value Primary for Kind. |
static final Kind |
PRIMARY_READONLY
Static value Primary |
static final Kind |
SECONDARY
Static value Secondary for Kind. |
static final Kind |
SECONDARY_READONLY
Static value Secondary |
Constructor Summary
Constructor | Description |
---|---|
Kind() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Kind value. |
Method Summary
Modifier and Type | Method and Description |
---|---|
static Kind |
fromString(String name)
Creates or finds a Kind from its string representation. |
static Collection<Kind> |
values()
Gets known Kind values. |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIMARY
public static final Kind PRIMARY
Static value Primary for Kind.
PRIMARY_READONLY
public static final Kind PRIMARY_READONLY
Static value PrimaryReadonly for Kind.
SECONDARY
public static final Kind SECONDARY
Static value Secondary for Kind.
SECONDARY_READONLY
public static final Kind SECONDARY_READONLY
Static value SecondaryReadonly for Kind.
Constructor Details
Kind
@Deprecated
public Kind()
Deprecated
Creates a new instance of Kind value.
Method Details
fromString
public static Kind fromString(String name)
Creates or finds a Kind from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known Kind values.
Returns:
Applies to
Azure SDK for Java