@Stability(value=Stable) public static final class CfnCluster.ScalingConstraintsProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.ScalingConstraintsProperty>
CfnCluster.ScalingConstraintsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCluster.ScalingConstraintsProperty |
build()
Builds the configured instance.
|
CfnCluster.ScalingConstraintsProperty.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
CfnCluster.ScalingConstraintsProperty.getMaxCapacity() |
CfnCluster.ScalingConstraintsProperty.Builder |
minCapacity(Number minCapacity)
Sets the value of
CfnCluster.ScalingConstraintsProperty.getMinCapacity() |
@Stability(value=Stable) public CfnCluster.ScalingConstraintsProperty.Builder maxCapacity(Number maxCapacity)
CfnCluster.ScalingConstraintsProperty.getMaxCapacity()maxCapacity - The upper boundary of EC2 instances in an instance group beyond which scaling activities are not allowed to grow. This parameter is required.
Scale-out activities will not add instances beyond this boundary.this@Stability(value=Stable) public CfnCluster.ScalingConstraintsProperty.Builder minCapacity(Number minCapacity)
CfnCluster.ScalingConstraintsProperty.getMinCapacity()minCapacity - The lower boundary of EC2 instances in an instance group below which scaling activities are not allowed to shrink. This parameter is required.
Scale-in activities will not terminate instances below this boundary.this@Stability(value=Stable) public CfnCluster.ScalingConstraintsProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.ScalingConstraintsProperty>CfnCluster.ScalingConstraintsPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.