Interface GetWorkflowRunResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCatalystResponse.Builder,CopyableBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>,SdkBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWorkflowRunResponse
public static interface GetWorkflowRunResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowRunResponse.Builder,GetWorkflowRunResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetWorkflowRunResponse.BuilderendTime(Instant endTime)The date and time the workflow run ended, in coordinated universal time (UTC) timestamp format as specified in RFC 3339.GetWorkflowRunResponse.Builderid(String id)The ID of the workflow run.GetWorkflowRunResponse.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time the workflow run status was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339GetWorkflowRunResponse.BuilderprojectName(String projectName)The name of the project in the space.GetWorkflowRunResponse.BuilderspaceName(String spaceName)The name of the space.GetWorkflowRunResponse.BuilderstartTime(Instant startTime)The date and time the workflow run began, in coordinated universal time (UTC) timestamp format as specified in RFC 3339GetWorkflowRunResponse.Builderstatus(String status)The status of the workflow run.GetWorkflowRunResponse.Builderstatus(WorkflowRunStatus status)The status of the workflow run.GetWorkflowRunResponse.BuilderstatusReasons(Collection<WorkflowRunStatusReason> statusReasons)Information about the reasons for the status of the workflow run.GetWorkflowRunResponse.BuilderstatusReasons(Consumer<WorkflowRunStatusReason.Builder>... statusReasons)Information about the reasons for the status of the workflow run.GetWorkflowRunResponse.BuilderstatusReasons(WorkflowRunStatusReason... statusReasons)Information about the reasons for the status of the workflow run.GetWorkflowRunResponse.BuilderworkflowId(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 Detail
-
spaceName
GetWorkflowRunResponse.Builder spaceName(String 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
GetWorkflowRunResponse.Builder projectName(String 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
GetWorkflowRunResponse.Builder id(String 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
GetWorkflowRunResponse.Builder workflowId(String 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
GetWorkflowRunResponse.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
GetWorkflowRunResponse.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
GetWorkflowRunResponse.Builder statusReasons(Collection<WorkflowRunStatusReason> 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(WorkflowRunStatusReason... 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.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
GetWorkflowRunResponse.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
GetWorkflowRunResponse.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
GetWorkflowRunResponse.Builder 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 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.
-
-