Interface WorkflowRunSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<WorkflowRunSummary.Builder,
,WorkflowRunSummary> SdkBuilder<WorkflowRunSummary.Builder,
,WorkflowRunSummary> SdkPojo
- Enclosing class:
WorkflowRunSummary
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339The system-generated unique ID of the workflow run.lastUpdatedTime
(Instant lastUpdatedTime) The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.The status of the workflow run.status
(WorkflowRunStatus status) The status of the workflow run.statusReasons
(Collection<WorkflowRunStatusReason> statusReasons) The reasons for the workflow run status.statusReasons
(Consumer<WorkflowRunStatusReason.Builder>... statusReasons) The reasons for the workflow run status.statusReasons
(WorkflowRunStatusReason... statusReasons) The reasons for the workflow run status.workflowId
(String workflowId) The system-generated unique ID of the workflow.workflowName
(String workflowName) The name of the workflow.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
-
id
The system-generated unique ID of the workflow run.
- Parameters:
id
- The system-generated unique ID of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowId
The system-generated unique ID of the workflow.
- Parameters:
workflowId
- The system-generated unique ID of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowName
The name of the workflow.
- Parameters:
workflowName
- The name of the workflow.- 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:
-
statusReasons
The reasons for the workflow run status.
- Parameters:
statusReasons
- The reasons for the workflow run status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
The reasons for the workflow run status.
- Parameters:
statusReasons
- The reasons for the workflow run status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
WorkflowRunSummary.Builder statusReasons(Consumer<WorkflowRunStatusReason.Builder>... statusReasons) The reasons for the workflow run status.
This is a convenience method that creates an instance of theWorkflowRunStatusReason.Builder
avoiding the need to create one manually viaWorkflowRunStatusReason.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostatusReasons(List<WorkflowRunStatusReason>)
.- Parameters:
statusReasons
- a consumer that will call methods onWorkflowRunStatusReason.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
startTime
The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.
- Parameters:
startTime
- The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
endTime
- The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
lastUpdatedTime
- The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339- Returns:
- Returns a reference to this object so that method calls can be chained together.
-