Interface Workflow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Workflow.Builder,
,Workflow> SdkBuilder<Workflow.Builder,
,Workflow> SdkPojo
- Enclosing class:
Workflow
@Mutable
@NotThreadSafe
public static interface Workflow.Builder
extends SdkPojo, CopyableBuilder<Workflow.Builder,Workflow>
-
Method Summary
Modifier and TypeMethodDescriptionsteps
(Collection<Step> steps) The steps that make up the workflow.steps
(Consumer<Step.Builder>... steps) The steps that make up the workflow.The steps that make up the workflow.workflowDescription
(String workflowDescription) The description of the workflow.workflowTargetAction
(String workflowTargetAction) The action that the workflow performs.workflowTargetAction
(WorkflowTargetAction workflowTargetAction) The action that the workflow performs.workflowTargetRegion
(String workflowTargetRegion) The Amazon Web Services Region that the workflow targets.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 Details
-
steps
The steps that make up the workflow.
- Parameters:
steps
- The steps that make up the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps that make up the workflow.
- Parameters:
steps
- The steps that make up the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
steps
The steps that make up the workflow.
This is a convenience method that creates an instance of theStep.Builder
avoiding the need to create one manually viaStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<Step>)
.- Parameters:
steps
- a consumer that will call methods onStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowTargetAction
The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.
- Parameters:
workflowTargetAction
- The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowTargetAction
The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.
- Parameters:
workflowTargetAction
- The action that the workflow performs. Valid values include ACTIVATE and DEACTIVATE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowTargetRegion
The Amazon Web Services Region that the workflow targets.
- Parameters:
workflowTargetRegion
- The Amazon Web Services Region that the workflow targets.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowDescription
The description of the workflow.
- Parameters:
workflowDescription
- The description of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-