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