Class CfnPipelinePropsMixin.FailureConditionsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.codepipeline.CfnPipelinePropsMixin.FailureConditionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.FailureConditionsProperty>
- Enclosing interface:
CfnPipelinePropsMixin.FailureConditionsProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.FailureConditionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.FailureConditionsProperty>
A builder for
CfnPipelinePropsMixin.FailureConditionsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.conditions(List<? extends Object> conditions) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getConditions()conditions(IResolvable conditions) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getConditions()Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getResult()retryConfiguration(CfnPipelinePropsMixin.RetryConfigurationProperty retryConfiguration) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getRetryConfiguration()retryConfiguration(IResolvable retryConfiguration) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getRetryConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
conditions
@Stability(Stable) public CfnPipelinePropsMixin.FailureConditionsProperty.Builder conditions(IResolvable conditions) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getConditions()- Parameters:
conditions- The conditions that are configured as failure conditions. For more information about conditions, see Stage conditions and How do stage conditions work? .- Returns:
this
-
conditions
@Stability(Stable) public CfnPipelinePropsMixin.FailureConditionsProperty.Builder conditions(List<? extends Object> conditions) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getConditions()- Parameters:
conditions- The conditions that are configured as failure conditions. For more information about conditions, see Stage conditions and How do stage conditions work? .- Returns:
this
-
result
@Stability(Stable) public CfnPipelinePropsMixin.FailureConditionsProperty.Builder result(String result) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getResult()- Parameters:
result- The specified result for when the failure conditions are met, such as rolling back the stage.- Returns:
this
-
retryConfiguration
@Stability(Stable) public CfnPipelinePropsMixin.FailureConditionsProperty.Builder retryConfiguration(IResolvable retryConfiguration) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getRetryConfiguration()- Parameters:
retryConfiguration- The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.- Returns:
this
-
retryConfiguration
@Stability(Stable) public CfnPipelinePropsMixin.FailureConditionsProperty.Builder retryConfiguration(CfnPipelinePropsMixin.RetryConfigurationProperty retryConfiguration) Sets the value ofCfnPipelinePropsMixin.FailureConditionsProperty.getRetryConfiguration()- Parameters:
retryConfiguration- The retry configuration specifies automatic retry for a failed stage, along with the configured retry mode.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.FailureConditionsProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.FailureConditionsProperty - Throws:
NullPointerException- if any required attribute was not provided
-