Class PolicyState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyState>
com.azure.resourcemanager.elasticsan.models.PolicyState
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class PolicyState extends com.azure.core.util.ExpandableStringEnum<PolicyState>
Defines values for PolicyState.
  • Field Details

    • ENABLED

      public static final PolicyState ENABLED
      Static value Enabled for PolicyState.
    • DISABLED

      public static final PolicyState DISABLED
      Static value Disabled for PolicyState.
  • Constructor Details

    • PolicyState

      @Deprecated public PolicyState()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of PolicyState value.
  • Method Details

    • fromString

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

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