public static enum ListAlarmsRequest.SortBy extends Enum<ListAlarmsRequest.SortBy> implements BmcEnum
The field to use when sorting returned alarm definitions. Only one sorting level is provided.
Example: severity
Enum Constant and Description |
---|
DisplayName |
Severity |
Modifier and Type | Method and Description |
---|---|
static ListAlarmsRequest.SortBy |
create(String key) |
String |
getValue() |
static ListAlarmsRequest.SortBy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListAlarmsRequest.SortBy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListAlarmsRequest.SortBy DisplayName
public static final ListAlarmsRequest.SortBy Severity
public static ListAlarmsRequest.SortBy[] values()
for (ListAlarmsRequest.SortBy c : ListAlarmsRequest.SortBy.values()) System.out.println(c);
public static ListAlarmsRequest.SortBy 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 static ListAlarmsRequest.SortBy create(String key)
Copyright © 2016–2024. All rights reserved.