Package com.oracle.bmc.adm.requests
Enum ListStagesRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListStagesRequest.SortBy>
-
- com.oracle.bmc.adm.requests.ListStagesRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListStagesRequest.SortBy>
- Enclosing class:
- ListStagesRequest
public static enum ListStagesRequest.SortBy extends Enum<ListStagesRequest.SortBy> implements BmcEnum
The field used to sort Stages.Only one sort order is allowed. Default order for status is the following sequence: CREATED, IN_PROGRESS, SUCCEEDED, FAILED, CANCELING, and CANCELED. Default order for timeCreated is descending. Default order for timeFinished is descending. Default order for timeStarted is descending. Default order for type is the following sequence: DETECT, RECOMMEND, VERIFY, and APPLY.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Status
TimeCreated
TimeFinished
TimeStarted
Type
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListStagesRequest.SortBy
create(String key)
String
getValue()
static ListStagesRequest.SortBy
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListStagesRequest.SortBy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Status
public static final ListStagesRequest.SortBy Status
-
TimeCreated
public static final ListStagesRequest.SortBy TimeCreated
-
TimeFinished
public static final ListStagesRequest.SortBy TimeFinished
-
TimeStarted
public static final ListStagesRequest.SortBy TimeStarted
-
Type
public static final ListStagesRequest.SortBy Type
-
-
Method Detail
-
values
public static ListStagesRequest.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 (ListStagesRequest.SortBy c : ListStagesRequest.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 ListStagesRequest.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 ListStagesRequest.SortBy create(String key)
-
-