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

public final class KeyKind extends com.microsoft.rest.ExpandableStringEnum<KeyKind>
Defines values for KeyKind.
  • Field Details

    • PRIMARY

      public static final KeyKind PRIMARY
      Static value primary for KeyKind.
    • SECONDARY

      public static final KeyKind SECONDARY
      Static value secondary for KeyKind.
    • PRIMARY_READONLY

      public static final KeyKind PRIMARY_READONLY
      Static value primaryReadonly 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<KeyKind> values()
      Returns:
      known KeyKind values