Interface ExecutionResults.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExecutionResults.Builder,
,ExecutionResults> SdkBuilder<ExecutionResults.Builder,
,ExecutionResults> SdkPojo
- Enclosing class:
ExecutionResults
-
Method Summary
Modifier and TypeMethodDescriptiononExceptionSteps
(Collection<ExecutionStepResult> onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps
(Consumer<ExecutionStepResult.Builder>... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps
(ExecutionStepResult... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.steps
(Collection<ExecutionStepResult> steps) Specifies the details for the steps that are in the specified workflow.steps
(Consumer<ExecutionStepResult.Builder>... steps) Specifies the details for the steps that are in the specified workflow.steps
(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, sdkFields
-
Method Details
-
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
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
Specifies the details for the steps that are in the specified workflow.
This is a convenience method that creates an instance of theExecutionStepResult.Builder
avoiding the need to create one manually viaExecutionStepResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<ExecutionStepResult>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaExecutionStepResult.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonExceptionSteps(List<ExecutionStepResult>)
.- 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:
-