Class CfnMapRun.MapRunExecutionCountsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.CfnMapRun.MapRunExecutionCountsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnMapRun.MapRunExecutionCountsProperty>
- Enclosing interface:
CfnMapRun.MapRunExecutionCountsProperty
@Stability(Stable)
public static final class CfnMapRun.MapRunExecutionCountsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnMapRun.MapRunExecutionCountsProperty>
A builder for
CfnMapRun.MapRunExecutionCountsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnMapRun.MapRunExecutionCountsProperty.getAborted()build()Builds the configured instance.Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getFailed()failuresNotRedrivable(Number failuresNotRedrivable) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getFailuresNotRedrivable()Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getPending()pendingRedrive(Number pendingRedrive) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getPendingRedrive()resultsWritten(Number resultsWritten) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getResultsWritten()Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getRunning()Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getSucceeded()Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getTimedOut()Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getTotal()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
aborted
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getAborted()- Parameters:
aborted- The total number of child workflow executions that were stopped.- Returns:
this
-
failed
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getFailed()- Parameters:
failed- The total number of child workflow executions that have failed.- Returns:
this
-
failuresNotRedrivable
@Stability(Stable) public CfnMapRun.MapRunExecutionCountsProperty.Builder failuresNotRedrivable(Number failuresNotRedrivable) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getFailuresNotRedrivable()- Parameters:
failuresNotRedrivable- The number of child workflow executions that cannot be redriven.- Returns:
this
-
pending
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getPending()- Parameters:
pending- The total number of child workflow executions that haven't started executing yet.- Returns:
this
-
pendingRedrive
@Stability(Stable) public CfnMapRun.MapRunExecutionCountsProperty.Builder pendingRedrive(Number pendingRedrive) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getPendingRedrive()- Parameters:
pendingRedrive- The number of unsuccessful child workflow executions waiting to be redriven.- Returns:
this
-
resultsWritten
@Stability(Stable) public CfnMapRun.MapRunExecutionCountsProperty.Builder resultsWritten(Number resultsWritten) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getResultsWritten()- Parameters:
resultsWritten- The count of child workflow executions whose results were written by ResultWriter.- Returns:
this
-
running
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getRunning()- Parameters:
running- The total number of child workflow executions that are currently in-progress.- Returns:
this
-
succeeded
@Stability(Stable) public CfnMapRun.MapRunExecutionCountsProperty.Builder succeeded(Number succeeded) Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getSucceeded()- Parameters:
succeeded- The total number of child workflow executions that have completed successfully.- Returns:
this
-
timedOut
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getTimedOut()- Parameters:
timedOut- The total number of child workflow executions that have timed out.- Returns:
this
-
total
Sets the value ofCfnMapRun.MapRunExecutionCountsProperty.getTotal()- Parameters:
total- The total number of child workflow executions started by a Map Run.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnMapRun.MapRunExecutionCountsProperty>- Returns:
- a new instance of
CfnMapRun.MapRunExecutionCountsProperty - Throws:
NullPointerException- if any required attribute was not provided
-