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.
|
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 which was executed.
|
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, sdkFields
copy
applyMutation, build
WorkflowRun.Builder name(String name)
Name of the workflow which was executed.
name
- Name of the workflow which was executed.WorkflowRun.Builder workflowRunId(String workflowRunId)
The ID of this workflow run.
workflowRunId
- The ID of this 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
,
WorkflowRunStatus
WorkflowRun.Builder status(WorkflowRunStatus status)
The status of the workflow run.
status
- The status of the workflow run.WorkflowRunStatus
,
WorkflowRunStatus
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.Builder
statistics(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.Builder
graph(WorkflowGraph)
Copyright © 2020. All rights reserved.