Class CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.InstancePoolsProperty>
- Enclosing interface:
CfnEndpointConfigPropsMixin.InstancePoolsProperty
@Stability(Stable)
public static final class CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.InstancePoolsProperty>
A builder for
CfnEndpointConfigPropsMixin.InstancePoolsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.instanceType(String instanceType) Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getInstanceType()modelNameOverride(String modelNameOverride) Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getModelNameOverride()Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getPriority()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
instanceType
@Stability(Stable) public CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder instanceType(String instanceType) Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getInstanceType()- Parameters:
instanceType- the value to be set.- Returns:
this
-
modelNameOverride
@Stability(Stable) public CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder modelNameOverride(String modelNameOverride) Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getModelNameOverride()- Parameters:
modelNameOverride- the value to be set.- Returns:
this
-
priority
@Stability(Stable) public CfnEndpointConfigPropsMixin.InstancePoolsProperty.Builder priority(Number priority) Sets the value ofCfnEndpointConfigPropsMixin.InstancePoolsProperty.getPriority()- Parameters:
priority- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfigPropsMixin.InstancePoolsProperty>- Returns:
- a new instance of
CfnEndpointConfigPropsMixin.InstancePoolsProperty - Throws:
NullPointerException- if any required attribute was not provided
-