Class CfnClusterPropsMixin.CapacitySizeConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sagemaker.CfnClusterPropsMixin.CapacitySizeConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnClusterPropsMixin.CapacitySizeConfigProperty>
- Enclosing interface:
CfnClusterPropsMixin.CapacitySizeConfigProperty
@Stability(Stable)
public static final class CfnClusterPropsMixin.CapacitySizeConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnClusterPropsMixin.CapacitySizeConfigProperty>
A builder for
CfnClusterPropsMixin.CapacitySizeConfigProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnClusterPropsMixin.CapacitySizeConfigProperty.getType()Sets the value ofCfnClusterPropsMixin.CapacitySizeConfigProperty.getValue()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
type
Sets the value ofCfnClusterPropsMixin.CapacitySizeConfigProperty.getType()- Parameters:
type- Specifies whether SageMaker should process the update by amount or percentage of instances.- Returns:
this
-
value
@Stability(Stable) public CfnClusterPropsMixin.CapacitySizeConfigProperty.Builder value(Number value) Sets the value ofCfnClusterPropsMixin.CapacitySizeConfigProperty.getValue()- Parameters:
value- Specifies the amount or percentage of instances SageMaker updates at a time.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnClusterPropsMixin.CapacitySizeConfigProperty>- Returns:
- a new instance of
CfnClusterPropsMixin.CapacitySizeConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-