Interface ForEachStepMetadata.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<ForEachStepMetadata.Builder,,ForEachStepMetadata> SdkBuilder<ForEachStepMetadata.Builder,,ForEachStepMetadata> SdkPojo
- Enclosing class:
ForEachStepMetadata
@Mutable
@NotThreadSafe
public static interface ForEachStepMetadata.Builder
extends SdkPojo, CopyableBuilder<ForEachStepMetadata.Builder,ForEachStepMetadata>
-
Method Summary
Modifier and TypeMethodDescriptionfailedStepCount(Integer failedStepCount) The number of iteration steps that failed.inputItemCount(Integer inputItemCount) The number of input items that the ForEach step iterates over.default ForEachStepMetadata.Builderselector(Consumer<ForEachSelectorResult.Builder> selector) Identifies the body step and iteration selected within the ForEach step.selector(ForEachSelectorResult selector) Identifies the body step and iteration selected within the ForEach step.The status of the ForEach step execution.status(ForEachStatus status) The status of the ForEach step execution.stoppedStepCount(Integer stoppedStepCount) The number of iteration steps that were stopped.succeededStepCount(Integer succeededStepCount) The number of iteration steps that completed successfully.totalStepCount(Integer totalStepCount) The total number of steps generated across all iterations of the ForEach step.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
status
The status of the ForEach step execution.
- Parameters:
status- The status of the ForEach step execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the ForEach step execution.
- Parameters:
status- The status of the ForEach step execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inputItemCount
The number of input items that the ForEach step iterates over.
- Parameters:
inputItemCount- The number of input items that the ForEach step iterates over.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
totalStepCount
The total number of steps generated across all iterations of the ForEach step.
- Parameters:
totalStepCount- The total number of steps generated across all iterations of the ForEach step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
succeededStepCount
The number of iteration steps that completed successfully.
- Parameters:
succeededStepCount- The number of iteration steps that completed successfully.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
failedStepCount
The number of iteration steps that failed.
- Parameters:
failedStepCount- The number of iteration steps that failed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
stoppedStepCount
The number of iteration steps that were stopped.
- Parameters:
stoppedStepCount- The number of iteration steps that were stopped.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
Identifies the body step and iteration selected within the ForEach step.
- Parameters:
selector- Identifies the body step and iteration selected within the ForEach step.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
selector
Identifies the body step and iteration selected within the ForEach step.
This is a convenience method that creates an instance of theForEachSelectorResult.Builderavoiding the need to create one manually viaForEachSelectorResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toselector(ForEachSelectorResult).- Parameters:
selector- a consumer that will call methods onForEachSelectorResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-