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