Class CfnPipe.BatchRetryStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.BatchRetryStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.BatchRetryStrategyProperty>
- Enclosing interface:
CfnPipe.BatchRetryStrategyProperty
@Stability(Stable)
public static final class CfnPipe.BatchRetryStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.BatchRetryStrategyProperty>
A builder for
CfnPipe.BatchRetryStrategyProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnPipe.BatchRetryStrategyProperty.getAttempts()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attempts
Sets the value ofCfnPipe.BatchRetryStrategyProperty.getAttempts()
- Parameters:
attempts
- The number of times to move a job to theRUNNABLE
status. If the value ofattempts
is 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:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.BatchRetryStrategyProperty>
- Returns:
- a new instance of
CfnPipe.BatchRetryStrategyProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-