Interface ExecutionResults.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<ExecutionResults.Builder,ExecutionResults>,SdkBuilder<ExecutionResults.Builder,ExecutionResults>,SdkPojo
- Enclosing class:
- ExecutionResults
public static interface ExecutionResults.Builder extends SdkPojo, CopyableBuilder<ExecutionResults.Builder,ExecutionResults>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionResults.BuilderonExceptionSteps(Collection<ExecutionStepResult> onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.ExecutionResults.BuilderonExceptionSteps(Consumer<ExecutionStepResult.Builder>... onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.ExecutionResults.BuilderonExceptionSteps(ExecutionStepResult... onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.ExecutionResults.Buildersteps(Collection<ExecutionStepResult> steps)Specifies the details for the steps that are in the specified workflow.ExecutionResults.Buildersteps(Consumer<ExecutionStepResult.Builder>... steps)Specifies the details for the steps that are in the specified workflow.ExecutionResults.Buildersteps(ExecutionStepResult... steps)Specifies the details for the steps that are in the specified workflow.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
steps
ExecutionResults.Builder steps(Collection<ExecutionStepResult> steps)
Specifies the details for the steps that are in the specified workflow.
- Parameters:
steps- Specifies the details for the steps that are in the specified workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
ExecutionResults.Builder steps(ExecutionStepResult... steps)
Specifies the details for the steps that are in the specified workflow.
- Parameters:
steps- Specifies the details for the steps that are in the specified workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
ExecutionResults.Builder steps(Consumer<ExecutionStepResult.Builder>... steps)
Specifies the details for the steps that are in the specified workflow.
This is a convenience method that creates an instance of theExecutionStepResult.Builderavoiding the need to create one manually viaExecutionStepResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#steps(List.) - Parameters:
steps- a consumer that will call methods onExecutionStepResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection)
-
onExceptionSteps
ExecutionResults.Builder onExceptionSteps(Collection<ExecutionStepResult> onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onExceptionSteps
ExecutionResults.Builder onExceptionSteps(ExecutionStepResult... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
- Parameters:
onExceptionSteps- Specifies the steps (actions) to take if errors are encountered during execution of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onExceptionSteps
ExecutionResults.Builder onExceptionSteps(Consumer<ExecutionStepResult.Builder>... onExceptionSteps)
Specifies the steps (actions) to take if errors are encountered during execution of the workflow.
This is a convenience method that creates an instance of theExecutionStepResult.Builderavoiding the need to create one manually viaExecutionStepResult.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#onExceptionSteps(List.) - Parameters:
onExceptionSteps- a consumer that will call methods onExecutionStepResult.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#onExceptionSteps(java.util.Collection)
-
-