Interface WorkflowRunSummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<WorkflowRunSummary.Builder,WorkflowRunSummary>,SdkBuilder<WorkflowRunSummary.Builder,WorkflowRunSummary>,SdkPojo
- Enclosing class:
- WorkflowRunSummary
public static interface WorkflowRunSummary.Builder extends SdkPojo, CopyableBuilder<WorkflowRunSummary.Builder,WorkflowRunSummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description WorkflowRunSummary.BuilderendTime(Instant endTime)The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339WorkflowRunSummary.Builderid(String id)The system-generated unique ID of the workflow run.WorkflowRunSummary.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339WorkflowRunSummary.BuilderstartTime(Instant startTime)The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.WorkflowRunSummary.Builderstatus(String status)The status of the workflow run.WorkflowRunSummary.Builderstatus(WorkflowRunStatus status)The status of the workflow run.WorkflowRunSummary.BuilderstatusReasons(Collection<WorkflowRunStatusReason> statusReasons)The reasons for the workflow run status.WorkflowRunSummary.BuilderstatusReasons(Consumer<WorkflowRunStatusReason.Builder>... statusReasons)The reasons for the workflow run status.WorkflowRunSummary.BuilderstatusReasons(WorkflowRunStatusReason... statusReasons)The reasons for the workflow run status.WorkflowRunSummary.BuilderworkflowId(String workflowId)The system-generated unique ID of the workflow.WorkflowRunSummary.BuilderworkflowName(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, sdkFields
-
-
-
-
Method Detail
-
id
WorkflowRunSummary.Builder id(String 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
WorkflowRunSummary.Builder workflowId(String 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
WorkflowRunSummary.Builder workflowName(String 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
WorkflowRunSummary.Builder status(String 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:
WorkflowRunStatus,WorkflowRunStatus
-
status
WorkflowRunSummary.Builder status(WorkflowRunStatus 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:
WorkflowRunStatus,WorkflowRunStatus
-
statusReasons
WorkflowRunSummary.Builder statusReasons(Collection<WorkflowRunStatusReason> 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(WorkflowRunStatusReason... 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.Builderavoiding the need to create one manually viaWorkflowRunStatusReason.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#statusReasons(List.) - 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:
#statusReasons(java.util.Collection)
-
startTime
WorkflowRunSummary.Builder startTime(Instant 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
WorkflowRunSummary.Builder endTime(Instant 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
WorkflowRunSummary.Builder lastUpdatedTime(Instant 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.
-
-