Interface WorkflowConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowConfiguration.Builder,
,WorkflowConfiguration> SdkBuilder<WorkflowConfiguration.Builder,
,WorkflowConfiguration> SdkPojo
- Enclosing class:
WorkflowConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionThe action to take if the workflow fails.onFailure
(OnWorkflowFailure onFailure) The action to take if the workflow fails.parallelGroup
(String parallelGroup) Test workflows are defined within named runtime groups called parallel groups.parameters
(Collection<WorkflowParameter> parameters) Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.parameters
(Consumer<WorkflowParameter.Builder>... parameters) Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.parameters
(WorkflowParameter... parameters) Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.workflowArn
(String workflowArn) The Amazon Resource Name (ARN) of the workflow resource.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
-
workflowArn
The Amazon Resource Name (ARN) of the workflow resource.
- Parameters:
workflowArn
- The Amazon Resource Name (ARN) of the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
- Parameters:
parameters
- Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
- Parameters:
parameters
- Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
Contains parameter values for each of the parameters that the workflow document defined for the workflow resource.
This is a convenience method that creates an instance of theWorkflowParameter.Builder
avoiding the need to create one manually viaWorkflowParameter.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparameters(List<WorkflowParameter>)
.- Parameters:
parameters
- a consumer that will call methods onWorkflowParameter.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parallelGroup
Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.
- Parameters:
parallelGroup
- Test workflows are defined within named runtime groups called parallel groups. The parallel group is the named group that contains this test workflow. Test workflows within a parallel group can run at the same time. Image Builder starts up to five test workflows in the group at the same time, and starts additional workflows as others complete, until all workflows in the group have completed. This field only applies for test workflows.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
onFailure
The action to take if the workflow fails.
- Parameters:
onFailure
- The action to take if the workflow fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
onFailure
The action to take if the workflow fails.
- Parameters:
onFailure
- The action to take if the workflow fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-