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