Class CfnEndpointConfig.ManagedInstanceScalingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sagemaker.CfnEndpointConfig.ManagedInstanceScalingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEndpointConfig.ManagedInstanceScalingProperty>
- Enclosing interface:
CfnEndpointConfig.ManagedInstanceScalingProperty
@Stability(Stable)
public static final class CfnEndpointConfig.ManagedInstanceScalingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEndpointConfig.ManagedInstanceScalingProperty>
A builder for
CfnEndpointConfig.ManagedInstanceScalingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxInstanceCount(Number maxInstanceCount) Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getMaxInstanceCount()minInstanceCount(Number minInstanceCount) Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getMinInstanceCount()Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getStatus()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxInstanceCount
@Stability(Stable) public CfnEndpointConfig.ManagedInstanceScalingProperty.Builder maxInstanceCount(Number maxInstanceCount) Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getMaxInstanceCount()- Parameters:
maxInstanceCount- the value to be set.- Returns:
this
-
minInstanceCount
@Stability(Stable) public CfnEndpointConfig.ManagedInstanceScalingProperty.Builder minInstanceCount(Number minInstanceCount) Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getMinInstanceCount()- Parameters:
minInstanceCount- the value to be set.- Returns:
this
-
status
@Stability(Stable) public CfnEndpointConfig.ManagedInstanceScalingProperty.Builder status(String status) Sets the value ofCfnEndpointConfig.ManagedInstanceScalingProperty.getStatus()- Parameters:
status- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEndpointConfig.ManagedInstanceScalingProperty>- Returns:
- a new instance of
CfnEndpointConfig.ManagedInstanceScalingProperty - Throws:
NullPointerException- if any required attribute was not provided
-