Interface WorkflowRun.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowRun.Builder,
,WorkflowRun> SdkBuilder<WorkflowRun.Builder,
,WorkflowRun> SdkPojo
- Enclosing class:
WorkflowRun
-
Method Summary
Modifier and TypeMethodDescriptioncompletedOn
(Instant completedOn) The date and time when the workflow run completed.errorMessage
(String errorMessage) This error message describes any error that may have occurred in starting the workflow run.default WorkflowRun.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.Name of the workflow that was run.previousRunId
(String previousRunId) The ID of the previous workflow run.The date and time when the workflow run was started.default WorkflowRun.Builder
startingEventBatchCondition
(Consumer<StartingEventBatchCondition.Builder> startingEventBatchCondition) The batch condition that started the workflow run.startingEventBatchCondition
(StartingEventBatchCondition startingEventBatchCondition) The batch condition that started the workflow run.default WorkflowRun.Builder
statistics
(Consumer<WorkflowRunStatistics.Builder> statistics) The statistics of the run.statistics
(WorkflowRunStatistics statistics) The statistics of the run.The status of the workflow run.status
(WorkflowRunStatus status) The status of the workflow run.workflowRunId
(String workflowRunId) The ID of this workflow run.workflowRunProperties
(Map<String, String> workflowRunProperties) The workflow run properties which were set during the run.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
-
name
Name of the workflow that was run.
- Parameters:
name
- Name of the workflow that was run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRunId
The ID of this workflow run.
- Parameters:
workflowRunId
- The ID of this workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
previousRunId
The ID of the previous workflow run.
- Parameters:
previousRunId
- The ID of the previous workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowRunProperties
The workflow run properties which were set during the run.
- Parameters:
workflowRunProperties
- The workflow run properties which were set during the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startedOn
The date and time when the workflow run was started.
- Parameters:
startedOn
- The date and time when the workflow run was started.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
completedOn
The date and time when the workflow run completed.
- Parameters:
completedOn
- The date and time when the workflow run completed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The status of the workflow run.
- Parameters:
status
- The status of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workflow run.
- Parameters:
status
- The status of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
errorMessage
This error message describes any error that may have occurred in starting the workflow run. Currently the only error message is "Concurrent runs exceeded for workflow:
foo
."- Parameters:
errorMessage
- This error message describes any error that may have occurred in starting the workflow run. Currently the only error message is "Concurrent runs exceeded for workflow:foo
."- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
The statistics of the run.
- Parameters:
statistics
- The statistics of the run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statistics
The statistics of the run.
This is a convenience method that creates an instance of theWorkflowRunStatistics.Builder
avoiding the need to create one manually viaWorkflowRunStatistics.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatistics(WorkflowRunStatistics)
.- Parameters:
statistics
- a consumer that will call methods onWorkflowRunStatistics.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:
-
startingEventBatchCondition
WorkflowRun.Builder startingEventBatchCondition(StartingEventBatchCondition startingEventBatchCondition) The batch condition that started the workflow run.
- Parameters:
startingEventBatchCondition
- The batch condition that started the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startingEventBatchCondition
default WorkflowRun.Builder startingEventBatchCondition(Consumer<StartingEventBatchCondition.Builder> startingEventBatchCondition) The batch condition that started the workflow run.
This is a convenience method that creates an instance of theStartingEventBatchCondition.Builder
avoiding the need to create one manually viaStartingEventBatchCondition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostartingEventBatchCondition(StartingEventBatchCondition)
.- Parameters:
startingEventBatchCondition
- a consumer that will call methods onStartingEventBatchCondition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-