Class PolicyEnabledState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyEnabledState>
com.azure.resourcemanager.cdn.models.PolicyEnabledState

public final class PolicyEnabledState extends com.azure.core.util.ExpandableStringEnum<PolicyEnabledState>
describes if the policy is in enabled state or disabled state.
  • 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

      public PolicyEnabledState()
  • Method Details

    • fromString

      public static PolicyEnabledState fromString(String name)
      Creates or finds a PolicyEnabledState from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding PolicyEnabledState.
    • values

      public static Collection<PolicyEnabledState> values()
      Gets known PolicyEnabledState values.
      Returns:
      known PolicyEnabledState values.