public static interface WorkflowRun.Builder extends SdkPojo, CopyableBuilder<WorkflowRun.Builder,WorkflowRun>
| Modifier and Type | Method and Description |
|---|---|
WorkflowRun.Builder |
completedOn(Instant completedOn)
The date and time when the workflow run completed.
|
WorkflowRun.Builder |
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.
|
WorkflowRun.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.
|
WorkflowRun.Builder |
name(String name)
Name of the workflow that was run.
|
WorkflowRun.Builder |
previousRunId(String previousRunId)
The ID of the previous workflow run.
|
WorkflowRun.Builder |
startedOn(Instant startedOn)
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.
|
WorkflowRun.Builder |
startingEventBatchCondition(StartingEventBatchCondition startingEventBatchCondition)
The batch condition that started the workflow run.
|
default WorkflowRun.Builder |
statistics(Consumer<WorkflowRunStatistics.Builder> statistics)
The statistics of the run.
|
WorkflowRun.Builder |
statistics(WorkflowRunStatistics statistics)
The statistics of the run.
|
WorkflowRun.Builder |
status(String status)
The status of the workflow run.
|
WorkflowRun.Builder |
status(WorkflowRunStatus status)
The status of the workflow run.
|
WorkflowRun.Builder |
workflowRunId(String workflowRunId)
The ID of this workflow run.
|
WorkflowRun.Builder |
workflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildWorkflowRun.Builder name(String name)
Name of the workflow that was run.
name - Name of the workflow that was run.WorkflowRun.Builder workflowRunId(String workflowRunId)
The ID of this workflow run.
workflowRunId - The ID of this workflow run.WorkflowRun.Builder previousRunId(String previousRunId)
The ID of the previous workflow run.
previousRunId - The ID of the previous workflow run.WorkflowRun.Builder workflowRunProperties(Map<String,String> workflowRunProperties)
The workflow run properties which were set during the run.
workflowRunProperties - The workflow run properties which were set during the run.WorkflowRun.Builder startedOn(Instant startedOn)
The date and time when the workflow run was started.
startedOn - The date and time when the workflow run was started.WorkflowRun.Builder completedOn(Instant completedOn)
The date and time when the workflow run completed.
completedOn - The date and time when the workflow run completed.WorkflowRun.Builder status(String status)
The status of the workflow run.
status - The status of the workflow run.WorkflowRunStatus,
WorkflowRunStatusWorkflowRun.Builder status(WorkflowRunStatus status)
The status of the workflow run.
status - The status of the workflow run.WorkflowRunStatus,
WorkflowRunStatusWorkflowRun.Builder errorMessage(String 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."
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."WorkflowRun.Builder statistics(WorkflowRunStatistics statistics)
The statistics of the run.
statistics - The statistics of the run.default WorkflowRun.Builder statistics(Consumer<WorkflowRunStatistics.Builder> 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 via WorkflowRunStatistics.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to statistics(WorkflowRunStatistics).
statistics - a consumer that will call methods on WorkflowRunStatistics.Builderstatistics(WorkflowRunStatistics)WorkflowRun.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 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.
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)WorkflowRun.Builder startingEventBatchCondition(StartingEventBatchCondition startingEventBatchCondition)
The batch condition that started the workflow run.
startingEventBatchCondition - The batch condition that started the workflow run.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 via StartingEventBatchCondition.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to startingEventBatchCondition(StartingEventBatchCondition).
startingEventBatchCondition - a consumer that will call methods on StartingEventBatchCondition.BuilderstartingEventBatchCondition(StartingEventBatchCondition)Copyright © 2023. All rights reserved.