KeyType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. quantum. models. KeyType
- com.
- com.
public final class KeyType
extends ExpandableStringEnum<KeyType>
Defines values for KeyType.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Key |
PRIMARY
Static value Primary for Key |
|
static final
Key |
SECONDARY
Static value Secondary for Key |
Constructor Summary
| Constructor | Description |
|---|---|
| KeyType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Key |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Key |
fromString(String name)
Creates or finds a Key |
|
static
Collection<Key |
values()
Gets known Key |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
PRIMARY
public static final KeyType PRIMARY
Static value Primary for KeyType.
SECONDARY
public static final KeyType SECONDARY
Static value Secondary for KeyType.
Constructor Details
KeyType
@Deprecated
public KeyType()
Deprecated
Creates a new instance of KeyType value.
Method Details
fromString
public static KeyType fromString(String name)
Creates or finds a KeyType from its string representation.
Parameters:
Returns:
values
public static Collection<KeyType> values()
Gets known KeyType values.
Returns: