Package com.azure.ai.openai.models
Class ServiceTier
java.lang.Object
com.azure.core.util.ExpandableStringEnum<ServiceTier>
com.azure.ai.openai.models.ServiceTier
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
The service tier used for processing the request.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ServiceTierService tier option for default.static final ServiceTierService tier option for scale. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ServiceTierfromString(String name) Creates or finds a ServiceTier from its string representation.static Collection<ServiceTier> values()Get known ServiceTier values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
SCALE
Service tier option for scale. -
DEFAULT
Service tier option for default.
-
-
Constructor Details
-
ServiceTier
Deprecated.Use thefromString(String)factory method.Creates a new instance of ServiceTier value.
-
-
Method Details
-
fromString
Creates or finds a ServiceTier from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding ServiceTier.
-
values
Get known ServiceTier values.- Returns:
- a collection of known ServiceTier values.
-
fromString(String)factory method.