Interface GetWorkflowResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeCatalystResponse.Builder,CopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>,SdkBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetWorkflowResponse
public static interface GetWorkflowResponse.Builder extends CodeCatalystResponse.Builder, SdkPojo, CopyableBuilder<GetWorkflowResponse.Builder,GetWorkflowResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetWorkflowResponse.BuildercreatedTime(Instant createdTime)The date and time the workflow was created, in coordinated universal time (UTC) timestamp format as specified in RFC 3339default GetWorkflowResponse.Builderdefinition(Consumer<WorkflowDefinition.Builder> definition)Information about the workflow definition file for the workflow.GetWorkflowResponse.Builderdefinition(WorkflowDefinition definition)Information about the workflow definition file for the workflow.GetWorkflowResponse.Builderid(String id)The ID of the workflow.GetWorkflowResponse.BuilderlastUpdatedTime(Instant lastUpdatedTime)The date and time the workflow was last updated, in coordinated universal time (UTC) timestamp format as specified in RFC 3339GetWorkflowResponse.Buildername(String name)The name of the workflow.GetWorkflowResponse.BuilderprojectName(String projectName)The name of the project in the space.GetWorkflowResponse.BuilderrunMode(String runMode)The behavior to use when multiple workflows occur at the same time.GetWorkflowResponse.BuilderrunMode(WorkflowRunMode runMode)The behavior to use when multiple workflows occur at the same time.GetWorkflowResponse.BuildersourceBranchName(String sourceBranchName)The name of the branch that contains the workflow YAML.GetWorkflowResponse.BuildersourceRepositoryName(String sourceRepositoryName)The name of the source repository where the workflow YAML is stored.GetWorkflowResponse.BuilderspaceName(String spaceName)The name of the space.GetWorkflowResponse.Builderstatus(String status)The status of the workflow.GetWorkflowResponse.Builderstatus(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 Detail
-
spaceName
GetWorkflowResponse.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
GetWorkflowResponse.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
GetWorkflowResponse.Builder id(String 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
GetWorkflowResponse.Builder name(String 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
GetWorkflowResponse.Builder sourceRepositoryName(String 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
GetWorkflowResponse.Builder sourceBranchName(String 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
GetWorkflowResponse.Builder definition(WorkflowDefinition 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
default GetWorkflowResponse.Builder definition(Consumer<WorkflowDefinition.Builder> definition)
Information about the workflow definition file for the workflow.
This is a convenience method that creates an instance of theWorkflowDefinition.Builderavoiding the need to create one manually viaWorkflowDefinition.builder().When the
Consumercompletes,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:
definition(WorkflowDefinition)
-
createdTime
GetWorkflowResponse.Builder createdTime(Instant 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
GetWorkflowResponse.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.
-
runMode
GetWorkflowResponse.Builder runMode(String 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:
WorkflowRunMode,WorkflowRunMode
-
runMode
GetWorkflowResponse.Builder runMode(WorkflowRunMode 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:
WorkflowRunMode,WorkflowRunMode
-
status
GetWorkflowResponse.Builder status(String 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:
WorkflowStatus,WorkflowStatus
-
status
GetWorkflowResponse.Builder status(WorkflowStatus 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:
WorkflowStatus,WorkflowStatus
-
-