Enum ListCatalogsRequest.SortOrder
- java.lang.Object
-
- java.lang.Enum<ListCatalogsRequest.SortOrder>
-
- com.oracle.bmc.datacatalog.requests.ListCatalogsRequest.SortOrder
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ListCatalogsRequest.SortOrder>
- Enclosing class:
- ListCatalogsRequest
public static enum ListCatalogsRequest.SortOrder extends Enum<ListCatalogsRequest.SortOrder> implements BmcEnum
The sort order to use, either ‘asc’ or ‘desc’.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListCatalogsRequest.SortOrdercreate(String key)StringgetValue()static ListCatalogsRequest.SortOrdervalueOf(String name)Returns the enum constant of this type with the specified name.static ListCatalogsRequest.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 ListCatalogsRequest.SortOrder Asc
-
Desc
public static final ListCatalogsRequest.SortOrder Desc
-
-
Method Detail
-
values
public static ListCatalogsRequest.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 (ListCatalogsRequest.SortOrder c : ListCatalogsRequest.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 ListCatalogsRequest.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 ListCatalogsRequest.SortOrder create(String key)
-
-