java.lang.Object
com.azure.core.util.ExpandableStringEnum<AlertsState>
com.azure.resourcemanager.recoveryservices.models.AlertsState

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

    • ENABLED

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

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

    • AlertsState

      public AlertsState()
  • Method Details

    • fromString

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

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