Class EnabledState

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

public final class EnabledState extends com.azure.core.util.ExpandableStringEnum<EnabledState>
Whether to enable use of this rule. Permitted values are 'Enabled' or 'Disabled'.
  • Field Details

    • ENABLED

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

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

    • EnabledState

      @Deprecated public EnabledState()
      Deprecated.
      Use the fromString(String) factory method.
      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:
      name - a name to look for.
      Returns:
      the corresponding EnabledState.
    • values

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