Package com.oracle.bmc.datasafe.requests
Enum ListUserAnalyticsRequest.SortOrder
- java.lang.Object
-
- java.lang.Enum<ListUserAnalyticsRequest.SortOrder>
-
- com.oracle.bmc.datasafe.requests.ListUserAnalyticsRequest.SortOrder
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListUserAnalyticsRequest.SortOrder>
- Enclosing class:
- ListUserAnalyticsRequest
public static enum ListUserAnalyticsRequest.SortOrder extends Enum<ListUserAnalyticsRequest.SortOrder> implements BmcEnum
The sort order to use, either ascending (ASC) or descending (DESC).
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListUserAnalyticsRequest.SortOrder
create(String key)
String
getValue()
static ListUserAnalyticsRequest.SortOrder
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListUserAnalyticsRequest.SortOrder[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Asc
public static final ListUserAnalyticsRequest.SortOrder Asc
-
Desc
public static final ListUserAnalyticsRequest.SortOrder Desc
-
-
Method Detail
-
values
public static ListUserAnalyticsRequest.SortOrder[] 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 (ListUserAnalyticsRequest.SortOrder c : ListUserAnalyticsRequest.SortOrder.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListUserAnalyticsRequest.SortOrder 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 ListUserAnalyticsRequest.SortOrder create(String key)
-
-