Class KeyType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<KeyType>
com.azure.resourcemanager.eventhubs.models.KeyType
Defines values for KeyType.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic KeyTypefromString(String name) Creates or finds a KeyType from its string representation.static Collection<KeyType>values()Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
PRIMARY_KEY
Static value PrimaryKey for KeyType. -
SECONDARY_KEY
Static value SecondaryKey for KeyType.
-
-
Constructor Details
-
KeyType
public KeyType()
-
-
Method Details
-
fromString
Creates or finds a KeyType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding KeyType.
-
values
- Returns:
- known KeyType values.
-