Class AlertSeverity
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<AlertSeverity>
-
- com.azure.resourcemanager.monitor.models.AlertSeverity
-
public final class AlertSeverity extends com.azure.core.util.ExpandableStringEnum<AlertSeverity>
Defines values for AlertSeverity.
-
-
Field Summary
Fields Modifier and Type Field Description static AlertSeverityFOURStatic value 4 for AlertSeverity.static AlertSeverityONEStatic value 1 for AlertSeverity.static AlertSeverityTHREEStatic value 3 for AlertSeverity.static AlertSeverityTWOStatic value 2 for AlertSeverity.static AlertSeverityZEROStatic value 0 for AlertSeverity.
-
Constructor Summary
Constructors Constructor Description AlertSeverity()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AlertSeverityfromString(String name)Creates or finds a AlertSeverity from its string representation.static Collection<AlertSeverity>values()
-
-
-
Field Detail
-
ZERO
public static final AlertSeverity ZERO
Static value 0 for AlertSeverity.
-
ONE
public static final AlertSeverity ONE
Static value 1 for AlertSeverity.
-
TWO
public static final AlertSeverity TWO
Static value 2 for AlertSeverity.
-
THREE
public static final AlertSeverity THREE
Static value 3 for AlertSeverity.
-
FOUR
public static final AlertSeverity FOUR
Static value 4 for AlertSeverity.
-
-
Method Detail
-
fromString
public static AlertSeverity fromString(String name)
Creates or finds a AlertSeverity from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AlertSeverity.
-
values
public static Collection<AlertSeverity> values()
- Returns:
- known AlertSeverity values.
-
-