public static enum ListSnapshotsRequest.SortOrder extends Enum<ListSnapshotsRequest.SortOrder> implements BmcEnum
The sort order to use, either ‘asc’ or ‘desc’, where ‘asc’ is ascending and ‘desc’ is descending. The default order is ‘desc’ except for numeric values.
Modifier and Type | Method and Description |
---|---|
static ListSnapshotsRequest.SortOrder |
create(String key) |
String |
getValue() |
static ListSnapshotsRequest.SortOrder |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ListSnapshotsRequest.SortOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ListSnapshotsRequest.SortOrder Asc
public static final ListSnapshotsRequest.SortOrder Desc
public static ListSnapshotsRequest.SortOrder[] values()
for (ListSnapshotsRequest.SortOrder c : ListSnapshotsRequest.SortOrder.values()) System.out.println(c);
public static ListSnapshotsRequest.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 ListSnapshotsRequest.SortOrder create(String key)
Copyright © 2016–2024. All rights reserved.