public static interface Workflow.Builder extends SdkPojo, CopyableBuilder<Workflow.Builder,Workflow>
| Modifier and Type | Method and Description |
|---|---|
Workflow.Builder |
blueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
|
default Workflow.Builder |
blueprintDetails(Consumer<BlueprintDetails.Builder> blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
|
Workflow.Builder |
createdOn(Instant createdOn)
The date and time when the workflow was created.
|
Workflow.Builder |
defaultRunProperties(Map<String,String> defaultRunProperties)
A collection of properties to be used as part of each execution of the workflow.
|
Workflow.Builder |
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.
|
Workflow.Builder |
graph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections
between them as edges.
|
Workflow.Builder |
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.
|
Workflow.Builder |
lastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
|
Workflow.Builder |
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.
|
Workflow.Builder |
name(String name)
The name of the workflow.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkflow.Builder name(String name)
The name of the workflow.
name - The name of the workflow.Workflow.Builder description(String description)
A description of the workflow.
description - A description of the workflow.Workflow.Builder defaultRunProperties(Map<String,String> 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.
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.Workflow.Builder createdOn(Instant createdOn)
The date and time when the workflow was created.
createdOn - The date and time when the workflow was created.Workflow.Builder lastModifiedOn(Instant lastModifiedOn)
The date and time when the workflow was last modified.
lastModifiedOn - The date and time when the workflow was last modified.Workflow.Builder lastRun(WorkflowRun lastRun)
The information about the last execution of the workflow.
lastRun - The information about the last execution of the workflow.default Workflow.Builder lastRun(Consumer<WorkflowRun.Builder> 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 via WorkflowRun.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result
is passed to lastRun(WorkflowRun).
lastRun - a consumer that will call methods on WorkflowRun.BuilderlastRun(WorkflowRun)Workflow.Builder graph(WorkflowGraph graph)
The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph - The graph representing all the Glue components that belong to the workflow as nodes and directed
connections between them as edges.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.
This is a convenience method that creates an instance of theWorkflowGraph.Builder avoiding the need
to create one manually via WorkflowGraph.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to graph(WorkflowGraph).
graph - a consumer that will call methods on WorkflowGraph.Buildergraph(WorkflowGraph)Workflow.Builder 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. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.
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.Workflow.Builder blueprintDetails(BlueprintDetails blueprintDetails)
This structure indicates the details of the blueprint that this particular workflow is created from.
blueprintDetails - This structure indicates the details of the blueprint that this particular workflow is created from.default Workflow.Builder blueprintDetails(Consumer<BlueprintDetails.Builder> 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 via BlueprintDetails.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to blueprintDetails(BlueprintDetails).
blueprintDetails - a consumer that will call methods on BlueprintDetails.BuilderblueprintDetails(BlueprintDetails)Copyright © 2023. All rights reserved.