Interface GetWorkflowResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeCatalystResponse.Builder
,CopyableBuilder<GetWorkflowResponse.Builder,
,GetWorkflowResponse> SdkBuilder<GetWorkflowResponse.Builder,
,GetWorkflowResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetWorkflowResponse
-
Method Summary
Modifier and TypeMethodDescriptioncreatedTime
(Instant createdTime) The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339default GetWorkflowResponse.Builder
definition
(Consumer<WorkflowDefinition.Builder> definition) Information about the workflow definition file for the workflow.definition
(WorkflowDefinition definition) Information about the workflow definition file for the workflow.The ID of the workflow.lastUpdatedTime
(Instant lastUpdatedTime) The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339The name of the workflow.projectName
(String projectName) The name of the project in the space.The behavior to use when multiple workflows occur at the same time.runMode
(WorkflowRunMode runMode) The behavior to use when multiple workflows occur at the same time.sourceBranchName
(String sourceBranchName) The name of the branch that contains the workflow YAML.sourceRepositoryName
(String sourceRepositoryName) The name of the source repository where the workflow YAML is stored.The name of the space.The status of the workflow.status
(WorkflowStatus status) The status 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.
- Parameters:
id
- The ID of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the workflow.
- Parameters:
name
- The name of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceRepositoryName
The name of the source repository where the workflow YAML is stored.
- Parameters:
sourceRepositoryName
- The name of the source repository where the workflow YAML is stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceBranchName
The name of the branch that contains the workflow YAML.
- Parameters:
sourceBranchName
- The name of the branch that contains the workflow YAML.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the workflow definition file for the workflow.
- Parameters:
definition
- Information about the workflow definition file for the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
definition
Information about the workflow definition file for the workflow.
This is a convenience method that creates an instance of theWorkflowDefinition.Builder
avoiding the need to create one manually viaWorkflowDefinition.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todefinition(WorkflowDefinition)
.- Parameters:
definition
- a consumer that will call methods onWorkflowDefinition.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339
- Parameters:
createdTime
- The date and time the workflow was created, 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.
-
runMode
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
- Parameters:
runMode
- The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
runMode
The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.
- Parameters:
runMode
- The behavior to use when multiple workflows occur at the same time. For more information, see https://docs.aws.amazon.com/codecatalyst/latest/userguide/workflows-configure-runs.html in the Amazon CodeCatalyst User Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workflow.
- Parameters:
status
- The status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the workflow.
- Parameters:
status
- The status of the workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-