@Stability(value=Experimental) public static final class EmrCreateCluster.ScalingConstraintsProperty.Builder extends Object implements software.amazon.jsii.Builder<EmrCreateCluster.ScalingConstraintsProperty>
EmrCreateCluster.ScalingConstraintsProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EmrCreateCluster.ScalingConstraintsProperty |
build()
Builds the configured instance.
|
EmrCreateCluster.ScalingConstraintsProperty.Builder |
maxCapacity(Number maxCapacity)
Sets the value of
EmrCreateCluster.ScalingConstraintsProperty.getMaxCapacity() |
EmrCreateCluster.ScalingConstraintsProperty.Builder |
minCapacity(Number minCapacity)
Sets the value of
EmrCreateCluster.ScalingConstraintsProperty.getMinCapacity() |
@Stability(value=Experimental) public EmrCreateCluster.ScalingConstraintsProperty.Builder maxCapacity(Number maxCapacity)
EmrCreateCluster.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=Experimental) public EmrCreateCluster.ScalingConstraintsProperty.Builder minCapacity(Number minCapacity)
EmrCreateCluster.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=Experimental) public EmrCreateCluster.ScalingConstraintsProperty build()
build in interface software.amazon.jsii.Builder<EmrCreateCluster.ScalingConstraintsProperty>EmrCreateCluster.ScalingConstraintsPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.