Interface DescribedWorkflow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DescribedWorkflow.Builder,
,DescribedWorkflow> SdkBuilder<DescribedWorkflow.Builder,
,DescribedWorkflow> SdkPojo
- Enclosing class:
DescribedWorkflow
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies the unique Amazon Resource Name (ARN) for the workflow.description
(String description) Specifies the text description for the workflow.onExceptionSteps
(Collection<WorkflowStep> onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps
(Consumer<WorkflowStep.Builder>... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.onExceptionSteps
(WorkflowStep... onExceptionSteps) Specifies the steps (actions) to take if errors are encountered during execution of the workflow.steps
(Collection<WorkflowStep> steps) Specifies the details for the steps that are in the specified workflow.steps
(Consumer<WorkflowStep.Builder>... steps) Specifies the details for the steps that are in the specified workflow.steps
(WorkflowStep... steps) Specifies the details for the steps that are in the specified workflow.tags
(Collection<Tag> tags) Key-value pairs that can be used to group and search for workflows.tags
(Consumer<Tag.Builder>... tags) Key-value pairs that can be used to group and search for workflows.Key-value pairs that can be used to group and search for workflows.workflowId
(String workflowId) A unique identifier for the 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 Details
-
arn
Specifies the unique Amazon Resource Name (ARN) for the workflow.
- Parameters:
arn
- Specifies the unique Amazon Resource Name (ARN) for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Specifies the text description for the workflow.
- Parameters:
description
- Specifies the text description for the 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.
- 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 theWorkflowStep.Builder
avoiding the need to create one manually viaWorkflowStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosteps(List<WorkflowStep>)
.- Parameters:
steps
- a consumer that will call methods onWorkflowStep.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
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 theWorkflowStep.Builder
avoiding the need to create one manually viaWorkflowStep.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toonExceptionSteps(List<WorkflowStep>)
.- Parameters:
onExceptionSteps
- a consumer that will call methods onWorkflowStep.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
workflowId
A unique identifier for the workflow.
- Parameters:
workflowId
- A unique identifier for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
- Parameters:
tags
- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
- Parameters:
tags
- Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Key-value pairs that can be used to group and search for workflows. Tags are metadata attached to workflows for any purpose.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-