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