Enum GenericChatRequest.ServiceTier
- java.lang.Object
-
- java.lang.Enum<GenericChatRequest.ServiceTier>
-
- com.oracle.bmc.generativeaiinference.model.GenericChatRequest.ServiceTier
-
- All Implemented Interfaces:
BmcEnum,Serializable,Comparable<GenericChatRequest.ServiceTier>
- Enclosing class:
- GenericChatRequest
public static enum GenericChatRequest.ServiceTier extends Enum<GenericChatRequest.ServiceTier> implements BmcEnum
Specifies the processing type used for serving the request.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static GenericChatRequest.ServiceTiercreate(String key)StringgetValue()static GenericChatRequest.ServiceTiervalueOf(String name)Returns the enum constant of this type with the specified name.static GenericChatRequest.ServiceTier[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Auto
public static final GenericChatRequest.ServiceTier Auto
-
Default
public static final GenericChatRequest.ServiceTier Default
-
Priority
public static final GenericChatRequest.ServiceTier Priority
-
-
Method Detail
-
values
public static GenericChatRequest.ServiceTier[] 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 (GenericChatRequest.ServiceTier c : GenericChatRequest.ServiceTier.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static GenericChatRequest.ServiceTier 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 GenericChatRequest.ServiceTier create(String key)
-
-