Package com.oracle.bmc.monitoring.model
Enum AlarmStatusSummary.Status
- java.lang.Object
-
- java.lang.Enum<AlarmStatusSummary.Status>
-
- com.oracle.bmc.monitoring.model.AlarmStatusSummary.Status
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<AlarmStatusSummary.Status>
- Enclosing class:
- AlarmStatusSummary
public static enum AlarmStatusSummary.Status extends Enum<AlarmStatusSummary.Status> implements BmcEnum
The status of this alarm.Status is collective, across all metric streams in the alarm. To list alarm status for each metric stream, use
retrieveDimensionStates
.Example: FIRING
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Firing
Ok
Suspended
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AlarmStatusSummary.Status
create(String key)
String
getValue()
static AlarmStatusSummary.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static AlarmStatusSummary.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Firing
public static final AlarmStatusSummary.Status Firing
-
Ok
public static final AlarmStatusSummary.Status Ok
-
Suspended
public static final AlarmStatusSummary.Status Suspended
-
UnknownEnumValue
public static final AlarmStatusSummary.Status UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static AlarmStatusSummary.Status[] 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 (AlarmStatusSummary.Status c : AlarmStatusSummary.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AlarmStatusSummary.Status 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
-
create
public static AlarmStatusSummary.Status create(String key)
-
-