public static enum ListMetricsDetails.SortOrder extends Enum<ListMetricsDetails.SortOrder> implements BmcEnum
The sort order to use when sorting returned metric definitions. Ascending (ASC) or descending (DESC).
Example: ASC
Modifier and Type | Method and Description |
---|---|
static ListMetricsDetails.SortOrder |
create(String key) |
String |
getValue() |
static ListMetricsDetails.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListMetricsDetails.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListMetricsDetails.SortOrder Asc
public static final ListMetricsDetails.SortOrder Desc
public static ListMetricsDetails.SortOrder[] values()
for (ListMetricsDetails.SortOrder c : ListMetricsDetails.SortOrder.values()) System.out.println(c);
public static ListMetricsDetails.SortOrder 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 ListMetricsDetails.SortOrder create(String key)
Copyright © 2016–2024. All rights reserved.