### YamlMime:JavaType uid: "com.microsoft.azure.management.cosmosdb.KeyKind" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind" name: "KeyKind" nameWithType: "KeyKind" summary: "Defines values for KeyKind." inheritances: - "" - "" inheritedMembers: - "com.microsoft.rest.ExpandableStringEnum.fromString(java.lang.String,java.lang.Class)" - "com.microsoft.rest.ExpandableStringEnum.values(java.lang.Class)" - "com.microsoft.rest.ExpandableStringEnum.equals(java.lang.Object)" - "com.microsoft.rest.ExpandableStringEnum.hashCode()" - "com.microsoft.rest.ExpandableStringEnum.toString()" - "com.microsoft.rest.ExpandableStringEnum.withNameValue(java.lang.String,T,java.lang.Class)" - "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(long)" - "java.lang.Object.wait(long,int)" syntax: "public final class KeyKind extends ExpandableStringEnum" constructors: - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.KeyKind()" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.KeyKind()" name: "KeyKind()" nameWithType: "KeyKind.KeyKind()" syntax: "public KeyKind()" fields: - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.PRIMARY" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.PRIMARY" name: "PRIMARY" nameWithType: "KeyKind.PRIMARY" summary: "Static value primary for KeyKind." modifiers: - "static" - "final" field: type: "" syntax: "public static final KeyKind PRIMARY" desc: "Static value primary for KeyKind." - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.PRIMARY_READONLY" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.PRIMARY_READONLY" name: "PRIMARY_READONLY" nameWithType: "KeyKind.PRIMARY_READONLY" summary: "Static value primaryReadonly for KeyKind." modifiers: - "static" - "final" field: type: "" syntax: "public static final KeyKind PRIMARY_READONLY" desc: "Static value primaryReadonly for KeyKind." - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.SECONDARY" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.SECONDARY" name: "SECONDARY" nameWithType: "KeyKind.SECONDARY" summary: "Static value secondary for KeyKind." modifiers: - "static" - "final" field: type: "" syntax: "public static final KeyKind SECONDARY" desc: "Static value secondary for KeyKind." - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.SECONDARY_READONLY" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.SECONDARY_READONLY" name: "SECONDARY_READONLY" nameWithType: "KeyKind.SECONDARY_READONLY" summary: "Static value secondaryReadonly for KeyKind." modifiers: - "static" - "final" field: type: "" syntax: "public static final KeyKind SECONDARY_READONLY" desc: "Static value secondaryReadonly for KeyKind." methods: - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.fromString(java.lang.String)" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.fromString(String name)" name: "fromString(String name)" nameWithType: "KeyKind.fromString(String name)" summary: "Creates or finds a KeyKind from its string representation." modifiers: - "static" parameters: - description: "a name to look for" name: "name" type: "" syntax: "public static KeyKind fromString(String name)" desc: "Creates or finds a KeyKind from its string representation." returns: description: "the corresponding KeyKind" type: "" - uid: "com.microsoft.azure.management.cosmosdb.KeyKind.values()" fullName: "com.microsoft.azure.management.cosmosdb.KeyKind.values()" name: "values()" nameWithType: "KeyKind.values()" modifiers: - "static" syntax: "public static Collection values()" returns: description: "known KeyKind values" type: "<>" type: "class" desc: "Defines values for KeyKind." metadata: {} package: "com.microsoft.azure.management.cosmosdb" artifact: com.microsoft.azure:azure-mgmt-cosmosdb:1.41.4