Class CfnPipeline.RetryConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.codepipeline.CfnPipeline.RetryConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipeline.RetryConfigurationProperty>
- Enclosing interface:
CfnPipeline.RetryConfigurationProperty
@Stability(Stable)
public static final class CfnPipeline.RetryConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipeline.RetryConfigurationProperty>
A builder for
CfnPipeline.RetryConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPipeline.RetryConfigurationProperty.getRetryMode()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
retryMode
@Stability(Stable) public CfnPipeline.RetryConfigurationProperty.Builder retryMode(String retryMode) Sets the value ofCfnPipeline.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipeline.RetryConfigurationProperty>
- Returns:
- a new instance of
CfnPipeline.RetryConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-