@Stability(value=Stable) public static final class CfnCluster.AutoScalingPolicyProperty.Builder extends Object implements software.amazon.jsii.Builder<CfnCluster.AutoScalingPolicyProperty>
CfnCluster.AutoScalingPolicyProperty| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
CfnCluster.AutoScalingPolicyProperty |
build()
Builds the configured instance.
|
CfnCluster.AutoScalingPolicyProperty.Builder |
constraints(CfnCluster.ScalingConstraintsProperty constraints)
Sets the value of
CfnCluster.AutoScalingPolicyProperty.getConstraints() |
CfnCluster.AutoScalingPolicyProperty.Builder |
constraints(IResolvable constraints)
Sets the value of
CfnCluster.AutoScalingPolicyProperty.getConstraints() |
CfnCluster.AutoScalingPolicyProperty.Builder |
rules(IResolvable rules)
Sets the value of
CfnCluster.AutoScalingPolicyProperty.getRules() |
CfnCluster.AutoScalingPolicyProperty.Builder |
rules(List<? extends Object> rules)
Sets the value of
CfnCluster.AutoScalingPolicyProperty.getRules() |
@Stability(value=Stable) public CfnCluster.AutoScalingPolicyProperty.Builder constraints(CfnCluster.ScalingConstraintsProperty constraints)
CfnCluster.AutoScalingPolicyProperty.getConstraints()constraints - The upper and lower EC2 instance limits for an automatic scaling policy. This parameter is required.
Automatic scaling activity will not cause an instance group to grow above or below these limits.this@Stability(value=Stable) public CfnCluster.AutoScalingPolicyProperty.Builder constraints(IResolvable constraints)
CfnCluster.AutoScalingPolicyProperty.getConstraints()constraints - The upper and lower EC2 instance limits for an automatic scaling policy. This parameter is required.
Automatic scaling activity will not cause an instance group to grow above or below these limits.this@Stability(value=Stable) public CfnCluster.AutoScalingPolicyProperty.Builder rules(IResolvable rules)
CfnCluster.AutoScalingPolicyProperty.getRules()rules - The scale-in and scale-out rules that comprise the automatic scaling policy. This parameter is required.this@Stability(value=Stable) public CfnCluster.AutoScalingPolicyProperty.Builder rules(List<? extends Object> rules)
CfnCluster.AutoScalingPolicyProperty.getRules()rules - The scale-in and scale-out rules that comprise the automatic scaling policy. This parameter is required.this@Stability(value=Stable) public CfnCluster.AutoScalingPolicyProperty build()
build in interface software.amazon.jsii.Builder<CfnCluster.AutoScalingPolicyProperty>CfnCluster.AutoScalingPolicyPropertyNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.