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