Partager via


KeyType Enum

  • java.lang.Object
    • java.lang.Enum
      • com.microsoft.azure.management.eventhub.KeyType

public enum KeyType
extends java.lang.Enum<KeyType>

Defines values for KeyType.

Fields

PRIMARY_KEY

Enum value PrimaryKey.

SECONDARY_KEY

Enum value SecondaryKey.

Methods inherited from java.lang.Enum

java.lang.Enum.<T>valueOf java.lang.Enum.clone java.lang.Enum.compareTo java.lang.Enum.describeConstable java.lang.Enum.equals java.lang.Enum.finalize java.lang.Enum.getDeclaringClass java.lang.Enum.hashCode java.lang.Enum.name java.lang.Enum.ordinal java.lang.Enum.toString

Methods inherited from java.lang.Object

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

Methods

fromString(String value)

public static KeyType fromString(String value)

Parses a serialized value to a KeyType instance.

Parameters

value
java.lang.String
the serialized value to parse.

Returns

the parsed KeyType object, or null if unable to parse.

toString()

public String toString()

Returns

java.lang.String
Overrides
java.lang.Enum.toString()

valueOf(String name)

public static KeyType valueOf(String name)

Parameters

name
java.lang.String

Returns

values()

public static KeyType[] values()

Returns

Applies to