Class CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codedeploy.CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty>
- Enclosing interface:
CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty
@Stability(Stable)
public static final class CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.enabled(IResolvable enabled)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder enabled(Boolean enabled) - Parameters:
enabled- Indicates whether a defined automatic rollback configuration is currently enabled.- Returns:
this
-
enabled
@Stability(Stable) public CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder enabled(IResolvable enabled) - Parameters:
enabled- Indicates whether a defined automatic rollback configuration is currently enabled.- Returns:
this
-
events
@Stability(Stable) public CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty.Builder events(List<String> events) - Parameters:
events- The event type or types that trigger a rollback. Valid values areDEPLOYMENT_FAILURE,DEPLOYMENT_STOP_ON_ALARM, orDEPLOYMENT_STOP_ON_REQUEST.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty>- Returns:
- a new instance of
CfnDeploymentGroupPropsMixin.AutoRollbackConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-