Enum ListAlarmsStatusRequest.Status
- java.lang.Object
-
- java.lang.Enum<ListAlarmsStatusRequest.Status>
-
- com.oracle.bmc.monitoring.requests.ListAlarmsStatusRequest.Status
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListAlarmsStatusRequest.Status>
- Enclosing class:
- ListAlarmsStatusRequest
public static enum ListAlarmsStatusRequest.Status extends Enum<ListAlarmsStatusRequest.Status> implements BmcEnum
A filter to return only metric streams that match the specified status.For example, the value “FIRING” returns only firing metric streams.
Example: FIRING
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAlarmsStatusRequest.Status
create(String key)
String
getValue()
static ListAlarmsStatusRequest.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListAlarmsStatusRequest.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 ListAlarmsStatusRequest.Status Firing
-
Ok
public static final ListAlarmsStatusRequest.Status Ok
-
-
Method Detail
-
values
public static ListAlarmsStatusRequest.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 (ListAlarmsStatusRequest.Status c : ListAlarmsStatusRequest.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 ListAlarmsStatusRequest.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 ListAlarmsStatusRequest.Status create(String key)
-
-