KeyKind Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.management.cosmosdb.KeyKind

public final class KeyKind
extends com.microsoft.rest.ExpandableStringEnum<KeyKind>

Defines values for KeyKind.

Field Summary

Modifier and Type Field and Description
static final KeyKind PRIMARY

Static value primary for KeyKind.

static final KeyKind PRIMARY_READONLY

Static value primaryReadonly for KeyKind.

static final KeyKind SECONDARY

Static value secondary for KeyKind.

static final KeyKind SECONDARY_READONLY

Static value secondaryReadonly for KeyKind.

Constructor Summary

Constructor Description
KeyKind()

Method Summary

Modifier and Type Method and Description
static KeyKind fromString(String name)

Creates or finds a KeyKind from its string representation.

static java.util.Collection<KeyKind> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

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:

name - a name to look for

Returns:

the corresponding KeyKind

values

public static Collection values()

Returns:

known KeyKind values

Applies to