Enum ListImportedModelsRequest.SortBy
- java.lang.Object
-
- java.lang.Enum<ListImportedModelsRequest.SortBy>
-
- com.oracle.bmc.generativeai.requests.ListImportedModelsRequest.SortBy
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ListImportedModelsRequest.SortBy>
- Enclosing class:
- ListImportedModelsRequest
public static enum ListImportedModelsRequest.SortBy extends Enum<ListImportedModelsRequest.SortBy> implements BmcEnum
The field to sort by.You can provide only one sort order. Default order for timeCreated is descending.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DisplayNameLifecycleStateTimeCreated
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListImportedModelsRequest.SortBycreate(String key)StringgetValue()static ListImportedModelsRequest.SortByvalueOf(String name)Returns the enum constant of this type with the specified name.static ListImportedModelsRequest.SortBy[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DisplayName
public static final ListImportedModelsRequest.SortBy DisplayName
-
LifecycleState
public static final ListImportedModelsRequest.SortBy LifecycleState
-
TimeCreated
public static final ListImportedModelsRequest.SortBy TimeCreated
-
-
Method Detail
-
values
public static ListImportedModelsRequest.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 (ListImportedModelsRequest.SortBy c : ListImportedModelsRequest.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 ListImportedModelsRequest.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 ListImportedModelsRequest.SortBy create(String key)
-
-