Interface GetPipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodePipelineResponse.Builder
,CopyableBuilder<GetPipelineResponse.Builder,
,GetPipelineResponse> SdkBuilder<GetPipelineResponse.Builder,
,GetPipelineResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetPipelineResponse
public static interface GetPipelineResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetPipelineResponse.Builder,GetPipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPipelineResponse.Builder
metadata
(Consumer<PipelineMetadata.Builder> metadata) Represents the pipeline metadata information returned as part of the output of aGetPipeline
action.metadata
(PipelineMetadata metadata) Represents the pipeline metadata information returned as part of the output of aGetPipeline
action.default GetPipelineResponse.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.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:
-
metadata
Represents the pipeline metadata information returned as part of the output of a
GetPipeline
action.- Parameters:
metadata
- Represents the pipeline metadata information returned as part of the output of aGetPipeline
action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metadata
Represents the pipeline metadata information returned as part of the output of a
This is a convenience method that creates an instance of theGetPipeline
action.PipelineMetadata.Builder
avoiding the need to create one manually viaPipelineMetadata.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tometadata(PipelineMetadata)
.- Parameters:
metadata
- a consumer that will call methods onPipelineMetadata.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-