Enum ListClustersRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListClustersRequest.SortBy>
-
- com.oracle.bmc.containerengine.requests.ListClustersRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListClustersRequest.SortBy>
- Enclosing class:
- ListClustersRequest
public static enum ListClustersRequest.SortBy extends Enum<ListClustersRequest.SortBy> implements BmcEnum
The optional field to sort the results by.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Id
Name
TimeCreated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListClustersRequest.SortBy
create(String key)
String
getValue()
static ListClustersRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListClustersRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Id
public static final ListClustersRequest.SortBy Id
-
Name
public static final ListClustersRequest.SortBy Name
-
TimeCreated
public static final ListClustersRequest.SortBy TimeCreated
-
-
Method Detail
-
values
public static ListClustersRequest.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 (ListClustersRequest.SortBy c : ListClustersRequest.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 ListClustersRequest.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 ListClustersRequest.SortBy create(String key)
-
-