Package com.oracle.bmc.opsi.requests
Enum ListDatabaseInsightsRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListDatabaseInsightsRequest.SortBy>
-
- com.oracle.bmc.opsi.requests.ListDatabaseInsightsRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListDatabaseInsightsRequest.SortBy>
- Enclosing class:
- ListDatabaseInsightsRequest
public static enum ListDatabaseInsightsRequest.SortBy extends Enum<ListDatabaseInsightsRequest.SortBy> implements BmcEnum
Database insight list sort options.If fields parameter is selected, the sortBy parameter must be one of the fields specified.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DatabaseDisplayName
DatabaseName
DatabaseType
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListDatabaseInsightsRequest.SortBy
create(String key)
String
getValue()
static ListDatabaseInsightsRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListDatabaseInsightsRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DatabaseName
public static final ListDatabaseInsightsRequest.SortBy DatabaseName
-
DatabaseDisplayName
public static final ListDatabaseInsightsRequest.SortBy DatabaseDisplayName
-
DatabaseType
public static final ListDatabaseInsightsRequest.SortBy DatabaseType
-
-
Method Detail
-
values
public static ListDatabaseInsightsRequest.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 (ListDatabaseInsightsRequest.SortBy c : ListDatabaseInsightsRequest.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 ListDatabaseInsightsRequest.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 ListDatabaseInsightsRequest.SortBy create(String key)
-
-