public static interface UpdatePipelineResponse.Builder extends CodePipelineResponse.Builder, CopyableBuilder<UpdatePipelineResponse.Builder,UpdatePipelineResponse>
Modifier and Type | Method and Description |
---|---|
default UpdatePipelineResponse.Builder |
pipeline(Consumer<PipelineDeclaration.Builder> pipeline)
The structure of the updated pipeline.
|
UpdatePipelineResponse.Builder |
pipeline(PipelineDeclaration pipeline)
The structure of the updated pipeline.
|
build
copy
apply, build
UpdatePipelineResponse.Builder pipeline(PipelineDeclaration pipeline)
The structure of the updated pipeline.
pipeline
- The structure of the updated pipeline.default UpdatePipelineResponse.Builder pipeline(Consumer<PipelineDeclaration.Builder> pipeline)
The structure of the updated pipeline.
This is a convenience that creates an instance of thePipelineDeclaration.Builder
avoiding the need
to create one manually via PipelineDeclaration.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and
its result is passed to pipeline(PipelineDeclaration)
.pipeline
- a consumer that will call methods on PipelineDeclaration.Builder
pipeline(PipelineDeclaration)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.