Interface ProductionVariantRoutingConfig.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
,SdkBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
,SdkPojo
- Enclosing class:
- ProductionVariantRoutingConfig
public static interface ProductionVariantRoutingConfig.Builder extends SdkPojo, CopyableBuilder<ProductionVariantRoutingConfig.Builder,ProductionVariantRoutingConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProductionVariantRoutingConfig.Builder
routingStrategy(String routingStrategy)
Sets how the endpoint routes incoming traffic:ProductionVariantRoutingConfig.Builder
routingStrategy(RoutingStrategy routingStrategy)
Sets how the endpoint routes incoming traffic:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
routingStrategy
ProductionVariantRoutingConfig.Builder routingStrategy(String 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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoutingStrategy
,RoutingStrategy
-
-
routingStrategy
ProductionVariantRoutingConfig.Builder routingStrategy(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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RoutingStrategy
,RoutingStrategy
-
-
-