@Stability(value=Experimental) public static final class EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder extends Object implements software.amazon.jsii.Builder<EmrCreateCluster.SimpleScalingPolicyConfigurationProperty>
| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder |
adjustmentType(EmrCreateCluster.ScalingAdjustmentType adjustmentType)
|
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty |
build()
Builds the configured instance.
|
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder |
coolDown(Number coolDown)
Sets the value of
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.getCoolDown() |
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder |
scalingAdjustment(Number scalingAdjustment)
|
@Stability(value=Experimental) public EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder scalingAdjustment(Number scalingAdjustment)
scalingAdjustment - The amount by which to scale in or scale out, based on the specified AdjustmentType. This parameter is required.
A positive value adds to the instance group's
EC2 instance count while a negative number removes instances. If AdjustmentType is set to EXACT_CAPACITY, the number should only be
a positive integer.this@Stability(value=Experimental) public EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder adjustmentType(EmrCreateCluster.ScalingAdjustmentType adjustmentType)
adjustmentType - The way in which EC2 instances are added (if ScalingAdjustment is a positive number) or terminated (if ScalingAdjustment is a negative number) each time the scaling activity is triggered.this@Stability(value=Experimental) public EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.Builder coolDown(Number coolDown)
EmrCreateCluster.SimpleScalingPolicyConfigurationProperty.getCoolDown()coolDown - The amount of time, in seconds, after a scaling activity completes before any further trigger-related scaling activities can start.this@Stability(value=Experimental) public EmrCreateCluster.SimpleScalingPolicyConfigurationProperty build()
build in interface software.amazon.jsii.Builder<EmrCreateCluster.SimpleScalingPolicyConfigurationProperty>EmrCreateCluster.SimpleScalingPolicyConfigurationPropertyNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.