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