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