public enum ResourceUtilizationAlertType extends Enum<ResourceUtilizationAlertType>
Enum Constant and Description |
---|
NONE |
OVERUTILIZATION |
UNDERUTILIZATION |
Modifier and Type | Method and Description |
---|---|
int |
getMetricValue() |
static ResourceUtilizationAlertType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ResourceUtilizationAlertType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResourceUtilizationAlertType NONE
public static final ResourceUtilizationAlertType UNDERUTILIZATION
public static final ResourceUtilizationAlertType OVERUTILIZATION
public static ResourceUtilizationAlertType[] values()
for (ResourceUtilizationAlertType c : ResourceUtilizationAlertType.values()) System.out.println(c);
public static ResourceUtilizationAlertType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getMetricValue()