Class ProductionVariantRoutingConfig
- java.lang.Object
-
- software.amazon.awssdk.services.sagemaker.model.ProductionVariantRoutingConfig
-
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
@Generated("software.amazon.awssdk:codegen") public final class ProductionVariantRoutingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
Settings that control how the endpoint routes incoming traffic to the instances that the endpoint hosts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
ProductionVariantRoutingConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ProductionVariantRoutingConfig.Builder
builder()
boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
RoutingStrategy
routingStrategy()
Sets how the endpoint routes incoming traffic:String
routingStrategyAsString()
Sets how the endpoint routes incoming traffic:List<SdkField<?>>
sdkFields()
static Class<? extends ProductionVariantRoutingConfig.Builder>
serializableBuilderClass()
ProductionVariantRoutingConfig.Builder
toBuilder()
String
toString()
Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
routingStrategy
public final RoutingStrategy routingStrategy()
Sets how the endpoint routes incoming traffic:
-
LEAST_OUTSTANDING_REQUESTS
: The endpoint routes requests to the specific instances that have more capacity to process them. -
RANDOM
: The endpoint routes each request to a randomly chosen instance.
If the service returns an enum value that is not available in the current SDK version,
routingStrategy
will returnRoutingStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroutingStrategyAsString()
.- Returns:
- Sets how the endpoint routes incoming traffic:
-
LEAST_OUTSTANDING_REQUESTS
: The endpoint routes requests to the specific instances that have more capacity to process them. -
RANDOM
: The endpoint routes each request to a randomly chosen instance.
-
- See Also:
RoutingStrategy
-
-
routingStrategyAsString
public final String routingStrategyAsString()
Sets how the endpoint routes incoming traffic:
-
LEAST_OUTSTANDING_REQUESTS
: The endpoint routes requests to the specific instances that have more capacity to process them. -
RANDOM
: The endpoint routes each request to a randomly chosen instance.
If the service returns an enum value that is not available in the current SDK version,
routingStrategy
will returnRoutingStrategy.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available fromroutingStrategyAsString()
.- Returns:
- Sets how the endpoint routes incoming traffic:
-
LEAST_OUTSTANDING_REQUESTS
: The endpoint routes requests to the specific instances that have more capacity to process them. -
RANDOM
: The endpoint routes each request to a randomly chosen instance.
-
- See Also:
RoutingStrategy
-
-
toBuilder
public ProductionVariantRoutingConfig.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
-
builder
public static ProductionVariantRoutingConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends ProductionVariantRoutingConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFields
in interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-