ServiceTier Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. ai. openai. models. ServiceTier
- com.
- com.
public final class ServiceTier
extends ExpandableStringEnum<ServiceTier>
The service tier used for processing the request.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Service |
DEFAULT
Service tier option for default. |
static final
Service |
SCALE
Service tier option for scale. |
Constructor Summary
Constructor | Description |
---|---|
ServiceTier() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Service |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Service |
fromString(String name)
Creates or finds a Service |
static
Collection<Service |
values()
Get known Service |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DEFAULT
public static final ServiceTier DEFAULT
Service tier option for default.
SCALE
public static final ServiceTier SCALE
Service tier option for scale.
Constructor Details
ServiceTier
@Deprecated
public ServiceTier()
Deprecated
Creates a new instance of ServiceTier value.
Method Details
fromString
public static ServiceTier fromString(String name)
Creates or finds a ServiceTier from its string representation.
Parameters:
Returns:
values
public static Collection<ServiceTier> values()
Get known ServiceTier values.
Returns: