Class CfnPipelinePropsMixin.RetryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.codepipeline.mixins.CfnPipelinePropsMixin.RetryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipelinePropsMixin.RetryConfigurationProperty>
- Enclosing interface:
CfnPipelinePropsMixin.RetryConfigurationProperty
@Stability(Stable)
public static final class CfnPipelinePropsMixin.RetryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipelinePropsMixin.RetryConfigurationProperty>
A builder for
CfnPipelinePropsMixin.RetryConfigurationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnPipelinePropsMixin.RetryConfigurationProperty.getRetryMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
retryMode
@Stability(Stable) public CfnPipelinePropsMixin.RetryConfigurationProperty.Builder retryMode(String retryMode) Sets the value ofCfnPipelinePropsMixin.RetryConfigurationProperty.getRetryMode()- Parameters:
retryMode- The method that you want to configure for automatic stage retry on stage failure. You can specify to retry only failed action in the stage or all actions in the stage.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipelinePropsMixin.RetryConfigurationProperty>- Returns:
- a new instance of
CfnPipelinePropsMixin.RetryConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-