Package com.oracle.bmc.opsi.requests
Enum ListAwrSnapshotsRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListAwrSnapshotsRequest.SortBy>
-
- com.oracle.bmc.opsi.requests.ListAwrSnapshotsRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListAwrSnapshotsRequest.SortBy>
- Enclosing class:
- ListAwrSnapshotsRequest
public static enum ListAwrSnapshotsRequest.SortBy extends Enum<ListAwrSnapshotsRequest.SortBy> implements BmcEnum
The option to sort the AWR snapshot summary data.Default sort is by timeBegin.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SnapshotId
TimeBegin
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListAwrSnapshotsRequest.SortBy
create(String key)
String
getValue()
static ListAwrSnapshotsRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListAwrSnapshotsRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TimeBegin
public static final ListAwrSnapshotsRequest.SortBy TimeBegin
-
SnapshotId
public static final ListAwrSnapshotsRequest.SortBy SnapshotId
-
-
Method Detail
-
values
public static ListAwrSnapshotsRequest.SortBy[] 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 (ListAwrSnapshotsRequest.SortBy c : ListAwrSnapshotsRequest.SortBy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListAwrSnapshotsRequest.SortBy 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 ListAwrSnapshotsRequest.SortBy create(String key)
-
-