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.routingStrategy(String routingStrategy) Sets the value ofCfnEndpointConfigPropsMixin.RoutingConfigProperty.getRoutingStrategy()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
routingStrategy
@Stability(Stable) public CfnEndpointConfigPropsMixin.RoutingConfigProperty.Builder routingStrategy(String routingStrategy) Sets the value ofCfnEndpointConfigPropsMixin.RoutingConfigProperty.getRoutingStrategy()- Parameters:
routingStrategy- the value to be set.- 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
-