Class CfnRule.BatchRetryStrategyProperty.Builder
java.lang.Object
software.amazon.awscdk.services.events.CfnRule.BatchRetryStrategyProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRule.BatchRetryStrategyProperty>
- Enclosing interface:
- CfnRule.BatchRetryStrategyProperty
@Stability(Stable)
public static final class CfnRule.BatchRetryStrategyProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRule.BatchRetryStrategyProperty>
A builder for
CfnRule.BatchRetryStrategyProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnRule.BatchRetryStrategyProperty.getAttempts()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attempts
Sets the value ofCfnRule.BatchRetryStrategyProperty.getAttempts()- Parameters:
attempts- The number of times to attempt to retry, if the job fails. Valid values are 1–10.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRule.BatchRetryStrategyProperty>- Returns:
- a new instance of
CfnRule.BatchRetryStrategyProperty - Throws:
NullPointerException- if any required attribute was not provided
-