Interface GetPipelineResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodePipelineResponse.Builder,CopyableBuilder<GetPipelineResponse.Builder,,GetPipelineResponse> SdkBuilder<GetPipelineResponse.Builder,,GetPipelineResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetPipelineResponse
@Mutable
@NotThreadSafe
public static interface GetPipelineResponse.Builder
extends CodePipelineResponse.Builder, SdkPojo, CopyableBuilder<GetPipelineResponse.Builder,GetPipelineResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetPipelineResponse.Buildermetadata(Consumer<PipelineMetadata.Builder> metadata) Represents the pipeline metadata information returned as part of the output of aGetPipelineaction.metadata(PipelineMetadata metadata) Represents the pipeline metadata information returned as part of the output of aGetPipelineaction.default GetPipelineResponse.Builderpipeline(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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaPipelineDeclaration.builder().When the
Consumercompletes,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
GetPipelineaction.- Parameters:
metadata- Represents the pipeline metadata information returned as part of the output of aGetPipelineaction.- 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 theGetPipelineaction.PipelineMetadata.Builderavoiding the need to create one manually viaPipelineMetadata.builder().When the
Consumercompletes,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:
-