Enum ListAwrDbSnapshotsRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListAwrDbSnapshotsRequest.SortBy>
-
- com.oracle.bmc.databasemanagement.requests.ListAwrDbSnapshotsRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListAwrDbSnapshotsRequest.SortBy>
- Enclosing class:
- ListAwrDbSnapshotsRequest
public static enum ListAwrDbSnapshotsRequest.SortBy extends Enum<ListAwrDbSnapshotsRequest.SortBy> implements BmcEnum
The option to sort the AWR snapshot summary data.
-
-
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 ListAwrDbSnapshotsRequest.SortBy
create(String key)
String
getValue()
static ListAwrDbSnapshotsRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.SortBy TimeBegin
-
SnapshotId
public static final ListAwrDbSnapshotsRequest.SortBy SnapshotId
-
-
Method Detail
-
values
public static ListAwrDbSnapshotsRequest.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 (ListAwrDbSnapshotsRequest.SortBy c : ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.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 ListAwrDbSnapshotsRequest.SortBy create(String key)
-
-