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