EnabledState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. cdn. models. EnabledState
- com.
- com.
public final class EnabledState
extends ExpandableStringEnum<EnabledState>
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Enabled |
DISABLED
Static value Disabled for Enabled |
static final
Enabled |
ENABLED
Static value Enabled for Enabled |
Constructor Summary
Constructor | Description |
---|---|
EnabledState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Enabled |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Enabled |
fromString(String name)
Creates or finds a Enabled |
static
Collection<Enabled |
values()
Gets known Enabled |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final EnabledState DISABLED
Static value Disabled for EnabledState.
ENABLED
public static final EnabledState ENABLED
Static value Enabled for EnabledState.
Constructor Details
EnabledState
@Deprecated
public EnabledState()
Deprecated
Creates a new instance of EnabledState value.
Method Details
fromString
public static EnabledState fromString(String name)
Creates or finds a EnabledState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known EnabledState values.
Returns:
Applies to
Azure SDK for Java