Enum ListWorkspacesRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListWorkspacesRequest.SortBy>
-
- com.oracle.bmc.dataintegration.requests.ListWorkspacesRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListWorkspacesRequest.SortBy>
- Enclosing class:
- ListWorkspacesRequest
public static enum ListWorkspacesRequest.SortBy extends Enum<ListWorkspacesRequest.SortBy> implements BmcEnum
Specifies the field to sort by.Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter query is present (search operation and sorting order is by relevance score in descending order).
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DisplayName
TimeCreated
TimeUpdated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListWorkspacesRequest.SortBy
create(String key)
String
getValue()
static ListWorkspacesRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListWorkspacesRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TimeCreated
public static final ListWorkspacesRequest.SortBy TimeCreated
-
DisplayName
public static final ListWorkspacesRequest.SortBy DisplayName
-
TimeUpdated
public static final ListWorkspacesRequest.SortBy TimeUpdated
-
-
Method Detail
-
values
public static ListWorkspacesRequest.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 (ListWorkspacesRequest.SortBy c : ListWorkspacesRequest.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 ListWorkspacesRequest.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 ListWorkspacesRequest.SortBy create(String key)
-
-