Enum ListModelsRequest.Category
- java.lang.Object
-
- java.lang.Enum<ListModelsRequest.Category>
-
- com.oracle.bmc.datascience.requests.ListModelsRequest.Category
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<ListModelsRequest.Category>
- Enclosing class:
- ListModelsRequest
public static enum ListModelsRequest.Category extends Enum<ListModelsRequest.Category> implements BmcEnum
Specifies the type of models to list.By default, user models are listed.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListModelsRequest.Category
create(String key)
String
getValue()
static ListModelsRequest.Category
valueOf(String name)
Returns the enum constant of this type with the specified name.static ListModelsRequest.Category[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
User
public static final ListModelsRequest.Category User
-
Service
public static final ListModelsRequest.Category Service
-
-
Method Detail
-
values
public static ListModelsRequest.Category[] 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 (ListModelsRequest.Category c : ListModelsRequest.Category.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ListModelsRequest.Category 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 ListModelsRequest.Category create(String key)
-
-