Enum ListAlarmSuppressionsRequest.SortOrder
- java.lang.Object
-
- java.lang.Enum<ListAlarmSuppressionsRequest.SortOrder>
-
- com.oracle.bmc.monitoring.requests.ListAlarmSuppressionsRequest.SortOrder
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListAlarmSuppressionsRequest.SortOrder>
- Enclosing class:
- ListAlarmSuppressionsRequest
public static enum ListAlarmSuppressionsRequest.SortOrder extends Enum<ListAlarmSuppressionsRequest.SortOrder> implements BmcEnum
The sort order to use when sorting returned alarm suppressions.Ascending (ASC) or descending (DESC).
Example: ASC
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAlarmSuppressionsRequest.SortOrder
create(String key)
String
getValue()
static ListAlarmSuppressionsRequest.SortOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListAlarmSuppressionsRequest.SortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Asc
public static final ListAlarmSuppressionsRequest.SortOrder Asc
-
Desc
public static final ListAlarmSuppressionsRequest.SortOrder Desc
-
-
Method Detail
-
values
public static ListAlarmSuppressionsRequest.SortOrder[] 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 (ListAlarmSuppressionsRequest.SortOrder c : ListAlarmSuppressionsRequest.SortOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListAlarmSuppressionsRequest.SortOrder 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 ListAlarmSuppressionsRequest.SortOrder create(String key)
-
-