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