Interface DescribedWorkflow.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DescribedWorkflow.Builder,DescribedWorkflow>,SdkBuilder<DescribedWorkflow.Builder,DescribedWorkflow>,SdkPojo
- Enclosing class:
- DescribedWorkflow
public static interface DescribedWorkflow.Builder extends SdkPojo, CopyableBuilder<DescribedWorkflow.Builder,DescribedWorkflow>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribedWorkflow.Builderarn(String arn)Specifies the unique Amazon Resource Name (ARN) for the workflow.DescribedWorkflow.Builderdescription(String description)Specifies the text description for the workflow.DescribedWorkflow.BuilderonExceptionSteps(Collection<WorkflowStep> onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.DescribedWorkflow.BuilderonExceptionSteps(Consumer<WorkflowStep.Builder>... onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.DescribedWorkflow.BuilderonExceptionSteps(WorkflowStep... onExceptionSteps)Specifies the steps (actions) to take if errors are encountered during execution of the workflow.DescribedWorkflow.Buildersteps(Collection<WorkflowStep> steps)Specifies the details for the steps that are in the specified workflow.DescribedWorkflow.Buildersteps(Consumer<WorkflowStep.Builder>... steps)Specifies the details for the steps that are in the specified workflow.DescribedWorkflow.Buildersteps(WorkflowStep... steps)Specifies the details for the steps that are in the specified workflow.DescribedWorkflow.Buildertags(Collection<Tag> tags)Key-value pairs that can be used to group and search for workflows.DescribedWorkflow.Buildertags(Consumer<Tag.Builder>... tags)Key-value pairs that can be used to group and search for workflows.DescribedWorkflow.Buildertags(Tag... tags)Key-value pairs that can be used to group and search for workflows.DescribedWorkflow.BuilderworkflowId(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 Detail
-
arn
DescribedWorkflow.Builder arn(String 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
DescribedWorkflow.Builder description(String 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
DescribedWorkflow.Builder steps(Collection<WorkflowStep> 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
DescribedWorkflow.Builder steps(WorkflowStep... 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
DescribedWorkflow.Builder steps(Consumer<WorkflowStep.Builder>... steps)
Specifies the details for the steps that are in the specified workflow.
This is a convenience method that creates an instance of theWorkflowStep.Builderavoiding the need to create one manually viaWorkflowStep.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 onWorkflowStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#steps(java.util.Collection)
-
onExceptionSteps
DescribedWorkflow.Builder onExceptionSteps(Collection<WorkflowStep> 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
DescribedWorkflow.Builder onExceptionSteps(WorkflowStep... 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
DescribedWorkflow.Builder onExceptionSteps(Consumer<WorkflowStep.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 theWorkflowStep.Builderavoiding the need to create one manually viaWorkflowStep.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 onWorkflowStep.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#onExceptionSteps(java.util.Collection)
-
workflowId
DescribedWorkflow.Builder workflowId(String 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
DescribedWorkflow.Builder tags(Collection<Tag> 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
DescribedWorkflow.Builder tags(Tag... 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
DescribedWorkflow.Builder tags(Consumer<Tag.Builder>... 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.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#tags(List.) - 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:
#tags(java.util.Collection)
-
-