Enum ServingMode.ServingType
- java.lang.Object
-
- java.lang.Enum<ServingMode.ServingType>
-
- com.oracle.bmc.generativeaiinference.model.ServingMode.ServingType
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<ServingMode.ServingType>
- Enclosing class:
- ServingMode
public static enum ServingMode.ServingType extends Enum<ServingMode.ServingType> implements BmcEnum
The serving mode type, which is either on-demand serving or dedicated serving.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ServingMode.ServingTypecreate(String key)StringgetValue()static ServingMode.ServingTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ServingMode.ServingType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OnDemand
public static final ServingMode.ServingType OnDemand
-
Dedicated
public static final ServingMode.ServingType Dedicated
-
-
Method Detail
-
values
public static ServingMode.ServingType[] 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 (ServingMode.ServingType c : ServingMode.ServingType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServingMode.ServingType 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 ServingMode.ServingType create(String key)
-
-