Class CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pcs.CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty>
- Enclosing interface:
CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty
@Stability(Stable)
public static final class CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.maxInstanceCount(Number maxInstanceCount) minInstanceCount(Number minInstanceCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
maxInstanceCount
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty.Builder maxInstanceCount(Number maxInstanceCount) - Parameters:
maxInstanceCount- The upper bound of the number of instances allowed in the compute fleet.- Returns:
this
-
minInstanceCount
@Stability(Stable) public CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty.Builder minInstanceCount(Number minInstanceCount) - Parameters:
minInstanceCount- The lower bound of the number of instances allowed in the compute fleet.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty>- Returns:
- a new instance of
CfnComputeNodeGroupPropsMixin.ScalingConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-