Class CustomRuleEnabledState

java.lang.Object
com.azure.core.util.ExpandableStringEnum<CustomRuleEnabledState>
com.azure.resourcemanager.frontdoor.models.CustomRuleEnabledState

public final class CustomRuleEnabledState extends com.azure.core.util.ExpandableStringEnum<CustomRuleEnabledState>
Describes if the custom rule is in enabled or disabled state. Defaults to Enabled if not specified.
  • Field Details

    • DISABLED

      public static final CustomRuleEnabledState DISABLED
      Static value Disabled for CustomRuleEnabledState.
    • ENABLED

      public static final CustomRuleEnabledState ENABLED
      Static value Enabled for CustomRuleEnabledState.
  • Constructor Details

    • CustomRuleEnabledState

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

    • fromString

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

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