Interface GetWorkflowRunResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCatalystResponse.Builder
,CopyableBuilder<GetWorkflowRunResponse.Builder,
,GetWorkflowRunResponse> SdkBuilder<GetWorkflowRunResponse.Builder,
,GetWorkflowRunResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkflowRunResponse
-
Method Summary
Modifier and TypeMethodDescriptionThe date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.The ID of the workflow run.lastUpdatedTime
(Instant lastUpdatedTime) The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339projectName
(String projectName) The name of the project in the space.The name of the space.The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339The status of the workflow run.status
(WorkflowRunStatus status) The status of the workflow run.statusReasons
(Collection<WorkflowRunStatusReason> statusReasons) Information about the reasons for the status of the workflow run.statusReasons
(Consumer<WorkflowRunStatusReason.Builder>... statusReasons) Information about the reasons for the status of the workflow run.statusReasons
(WorkflowRunStatusReason... statusReasons) Information about the reasons for the status of the workflow run.workflowId
(String workflowId) The ID of the workflow.Methods inherited from interface software.amazon.awssdk.services.codecatalyst.model.CodeCatalystResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
spaceName
The name of the space.
- Parameters:
spaceName
- The name of the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projectName
The name of the project in the space.
- Parameters:
projectName
- The name of the project in the space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
id
The ID of the workflow run.
- Parameters:
id
- The ID of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowId
The ID of the workflow.
- Parameters:
workflowId
- The ID 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
Information about the reasons for the status of the workflow run.
- Parameters:
statusReasons
- Information about the reasons for the status of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
Information about the reasons for the status of the workflow run.
- Parameters:
statusReasons
- Information about the reasons for the status of the workflow run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusReasons
GetWorkflowRunResponse.Builder statusReasons(Consumer<WorkflowRunStatusReason.Builder>... statusReasons) Information about the reasons for the status of the workflow run.
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 run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
lastUpdatedTime
- The date and time the workflow run status 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.
-