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