Class CfnPlan.Ec2UngracefulProperty.Builder
java.lang.Object
software.amazon.awscdk.services.arcregionswitch.CfnPlan.Ec2UngracefulProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlan.Ec2UngracefulProperty>
- Enclosing interface:
CfnPlan.Ec2UngracefulProperty
@Stability(Stable)
public static final class CfnPlan.Ec2UngracefulProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlan.Ec2UngracefulProperty>
A builder for
CfnPlan.Ec2UngracefulProperty
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.minimumSuccessPercentage
(Number minimumSuccessPercentage) Sets the value ofCfnPlan.Ec2UngracefulProperty.getMinimumSuccessPercentage()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
minimumSuccessPercentage
@Stability(Stable) public CfnPlan.Ec2UngracefulProperty.Builder minimumSuccessPercentage(Number minimumSuccessPercentage) Sets the value ofCfnPlan.Ec2UngracefulProperty.getMinimumSuccessPercentage()
- Parameters:
minimumSuccessPercentage
- The minimum success percentage that you specify for EC2 Auto Scaling groups. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPlan.Ec2UngracefulProperty>
- Returns:
- a new instance of
CfnPlan.Ec2UngracefulProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-