AlertsState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. dataprotection. models. AlertsState
- com.
- com.
public final class AlertsState
extends ExpandableStringEnum<AlertsState>
Defines values for AlertsState.
Field Summary
| Modifier and Type | Field and Description |
|---|---|
|
static final
Alerts |
DISABLED
Static value Disabled for Alerts |
|
static final
Alerts |
ENABLED
Static value Enabled for Alerts |
Constructor Summary
| Constructor | Description |
|---|---|
| AlertsState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Alerts |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Alerts |
fromString(String name)
Creates or finds a Alerts |
|
static
Collection<Alerts |
values()
Gets known Alerts |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final AlertsState DISABLED
Static value Disabled for AlertsState.
ENABLED
public static final AlertsState ENABLED
Static value Enabled for AlertsState.
Constructor Details
AlertsState
@Deprecated
public AlertsState()
Deprecated
Creates a new instance of AlertsState value.
Method Details
fromString
public static AlertsState fromString(String name)
Creates or finds a AlertsState from its string representation.
Parameters:
Returns:
values
public static Collection<AlertsState> values()
Gets known AlertsState values.
Returns: