Class BatchJobStateChange.RetryStrategy.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.batch.events.BatchJobStateChange.RetryStrategy.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BatchJobStateChange.RetryStrategy>
- Enclosing interface:
BatchJobStateChange.RetryStrategy
@Stability(Experimental)
public static final class BatchJobStateChange.RetryStrategy.Builder
extends Object
implements software.amazon.jsii.Builder<BatchJobStateChange.RetryStrategy>
A builder for
BatchJobStateChange.RetryStrategy-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofBatchJobStateChange.RetryStrategy.getAttempts()build()Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
attempts
@Stability(Experimental) public BatchJobStateChange.RetryStrategy.Builder attempts(List<String> attempts) Sets the value ofBatchJobStateChange.RetryStrategy.getAttempts()- Parameters:
attempts- attempts property. Specify an array of string values to match this event if the actual value of attempts is one of the values in the array. Use one of the constructors on theaws_events.Matchfor more advanced matching options.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<BatchJobStateChange.RetryStrategy>- Returns:
- a new instance of
BatchJobStateChange.RetryStrategy - Throws:
NullPointerException- if any required attribute was not provided
-