Class CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.RoutingConfigProperty>
- Enclosing interface:
CfnEndpointConfigPropsMixin.RoutingConfigProperty
@Stability(Stable)
public static final class CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.RoutingConfigProperty>
A builder for
CfnEndpointConfigPropsMixin.RoutingConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.prefixAwareRoutingConfig(CfnEndpointConfigPropsMixin.PrefixAwareRoutingConfigProperty prefixAwareRoutingConfig) prefixAwareRoutingConfig(IResolvable prefixAwareRoutingConfig) routingStrategy(String routingStrategy) Sets the value ofCfnEndpointConfigPropsMixin.RoutingConfigProperty.getRoutingStrategy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
prefixAwareRoutingConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder prefixAwareRoutingConfig(IResolvable prefixAwareRoutingConfig) - Parameters:
prefixAwareRoutingConfig- The configuration for prefix-aware routing on a SageMaker real-time inference endpoint. Specify PrefixLength and ConcurrencyThreshold to control routing behavior.- Returns:
this
-
prefixAwareRoutingConfig
@Stability(Stable) public CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder prefixAwareRoutingConfig(CfnEndpointConfigPropsMixin.PrefixAwareRoutingConfigProperty prefixAwareRoutingConfig) - Parameters:
prefixAwareRoutingConfig- The configuration for prefix-aware routing on a SageMaker real-time inference endpoint. Specify PrefixLength and ConcurrencyThreshold to control routing behavior.- Returns:
this
-
routingStrategy
@Stability(Stable) public CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder routingStrategy(String routingStrategy) Sets the value ofCfnEndpointConfigPropsMixin.RoutingConfigProperty.getRoutingStrategy()- Parameters:
routingStrategy- Sets how the endpoint routes incoming traffic.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.RoutingConfigProperty>- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.RoutingConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-