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 AWS 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 AWS 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 executed.
|
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 |
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 executed.
name - Name of the workflow that was executed.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 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 AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.
graph - The graph representing all the AWS 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 AWS Glue components that belong to the workflow as nodes and directed connections between them as edges.
This is a convenience 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)Copyright © 2020. All rights reserved.