Interface CreatePipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodePipelineResponse.Builder
,CopyableBuilder<CreatePipelineResponse.Builder,
,CreatePipelineResponse> SdkBuilder<CreatePipelineResponse.Builder,
,CreatePipelineResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreatePipelineResponse
public static interface CreatePipelineResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreatePipelineResponse.Builder
pipeline
(Consumer<PipelineDeclaration.Builder> pipeline) Represents the structure of actions and stages to be performed in the pipeline.pipeline
(PipelineDeclaration pipeline) Represents the structure of actions and stages to be performed in the pipeline.tags
(Collection<Tag> tags) Specifies the tags applied to the pipeline.tags
(Consumer<Tag.Builder>... tags) Specifies the tags applied to the pipeline.Specifies the tags applied to the pipeline.Methods inherited from interface software.amazon.awssdk.services.codepipeline.model.CodePipelineResponse.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
-
pipeline
Represents the structure of actions and stages to be performed in the pipeline.
- Parameters:
pipeline
- Represents the structure of actions and stages to be performed in the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pipeline
Represents the structure of actions and stages to be performed in the pipeline.
This is a convenience method that creates an instance of thePipelineDeclaration.Builder
avoiding the need to create one manually viaPipelineDeclaration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topipeline(PipelineDeclaration)
.- Parameters:
pipeline
- a consumer that will call methods onPipelineDeclaration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Specifies the tags applied to the pipeline.
- Parameters:
tags
- Specifies the tags applied to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the pipeline.
- Parameters:
tags
- Specifies the tags applied to the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Specifies the tags applied to the pipeline.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-