Interface Workflow.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Workflow.Builder,
,Workflow> SdkBuilder<Workflow.Builder,
,Workflow> SdkPojo
- Enclosing class:
Workflow
-
Method Summary
Modifier and TypeMethodDescriptiondefault Workflow.Builder
blueprintDetails
(Consumer<BlueprintDetails.Builder> blueprintDetails) This structure indicates the details of the blueprint that this particular workflow is created from.blueprintDetails
(BlueprintDetails blueprintDetails) This structure indicates the details of the blueprint that this particular workflow is created from.The date and time when the workflow was created.defaultRunProperties
(Map<String, String> defaultRunProperties) A collection of properties to be used as part of each execution of the workflow.description
(String description) A description of the workflow.default Workflow.Builder
graph
(Consumer<WorkflowGraph.Builder> graph) The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.graph
(WorkflowGraph graph) The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.lastModifiedOn
(Instant lastModifiedOn) The date and time when the workflow was last modified.default Workflow.Builder
lastRun
(Consumer<WorkflowRun.Builder> lastRun) The information about the last execution of the workflow.lastRun
(WorkflowRun lastRun) The information about the last execution of the workflow.maxConcurrentRuns
(Integer maxConcurrentRuns) You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs.The name of 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, sdkFields
-
Method Details
-
name
The name of the workflow.
- Parameters:
name
- The name of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the workflow.
- Parameters:
description
- A description of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
defaultRunProperties
A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.
- Parameters:
defaultRunProperties
- A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdOn
The date and time when the workflow was created.
- Parameters:
createdOn
- The date and time when the workflow was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedOn
The date and time when the workflow was last modified.
- Parameters:
lastModifiedOn
- The date and time when the workflow was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRun
The information about the last execution of the workflow.
- Parameters:
lastRun
- The information about the last execution of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastRun
The information about the last execution of the workflow.
This is a convenience method that creates an instance of theWorkflowRun.Builder
avoiding the need to create one manually viaWorkflowRun.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolastRun(WorkflowRun)
.- Parameters:
lastRun
- a consumer that will call methods onWorkflowRun.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
graph
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
- Parameters:
graph
- The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
graph
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
This is a convenience method that creates an instance of theWorkflowGraph.Builder
avoiding the need to create one manually viaWorkflowGraph.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tograph(WorkflowGraph)
.- Parameters:
graph
- a consumer that will call methods onWorkflowGraph.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxConcurrentRuns
You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
- Parameters:
maxConcurrentRuns
- You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintDetails
This structure indicates the details of the blueprint that this particular workflow is created from.
- Parameters:
blueprintDetails
- This structure indicates the details of the blueprint that this particular workflow is created from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
blueprintDetails
This structure indicates the details of the blueprint that this particular workflow is created from.
This is a convenience method that creates an instance of theBlueprintDetails.Builder
avoiding the need to create one manually viaBlueprintDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toblueprintDetails(BlueprintDetails)
.- Parameters:
blueprintDetails
- a consumer that will call methods onBlueprintDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-