Class CfnPipePropsMixin.BatchRetryStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pipes.CfnPipePropsMixin.BatchRetryStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipePropsMixin.BatchRetryStrategyProperty>
- Enclosing interface:
CfnPipePropsMixin.BatchRetryStrategyProperty
@Stability(Stable)
public static final class CfnPipePropsMixin.BatchRetryStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipePropsMixin.BatchRetryStrategyProperty>
A builder for
CfnPipePropsMixin.BatchRetryStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipePropsMixin.BatchRetryStrategyProperty.getAttempts()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attempts
@Stability(Stable) public CfnPipePropsMixin.BatchRetryStrategyProperty.Builder attempts(Number attempts) Sets the value ofCfnPipePropsMixin.BatchRetryStrategyProperty.getAttempts()- Parameters:
attempts- The number of times to move a job to theRUNNABLEstatus. If the value ofattemptsis greater than one, the job is retried on failure the same number of attempts as the value.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPipePropsMixin.BatchRetryStrategyProperty>- Returns:
- a new instance of
CfnPipePropsMixin.BatchRetryStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-