Package org.openstack4j.model.telemetry
Enum Alarm.Type
- java.lang.Object
-
- java.lang.Enum<Alarm.Type>
-
- org.openstack4j.model.telemetry.Alarm.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Alarm.Type>
- Enclosing interface:
- Alarm
public static enum Alarm.Type extends Enum<Alarm.Type>
The Alarm Type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMBINATIONCOMPOSITEEVENTGNOCCHI_AGGREGATION_BY_METRICS_THRESHOLDGNOCCHI_AGGREGATION_BY_RESOURCES_THRESHOLDGNOCCHI_RESOURCES_THRESHOLDTHRESHOLDUNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Alarm.TypefromValue(String type)StringtoString()Stringvalue()static Alarm.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Alarm.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GNOCCHI_AGGREGATION_BY_METRICS_THRESHOLD
public static final Alarm.Type GNOCCHI_AGGREGATION_BY_METRICS_THRESHOLD
-
COMPOSITE
public static final Alarm.Type COMPOSITE
-
GNOCCHI_RESOURCES_THRESHOLD
public static final Alarm.Type GNOCCHI_RESOURCES_THRESHOLD
-
GNOCCHI_AGGREGATION_BY_RESOURCES_THRESHOLD
public static final Alarm.Type GNOCCHI_AGGREGATION_BY_RESOURCES_THRESHOLD
-
THRESHOLD
public static final Alarm.Type THRESHOLD
-
EVENT
public static final Alarm.Type EVENT
-
COMBINATION
public static final Alarm.Type COMBINATION
-
UNRECOGNIZED
public static final Alarm.Type UNRECOGNIZED
-
-
Method Detail
-
values
public static Alarm.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Alarm.Type c : Alarm.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Alarm.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
fromValue
public static Alarm.Type fromValue(String type)
-
value
public String value()
-
toString
public String toString()
- Overrides:
toStringin classEnum<Alarm.Type>
-
-