public static interface CreatePipelineResponse.Builder extends CodePipelineResponse.Builder, CopyableBuilder<CreatePipelineResponse.Builder,CreatePipelineResponse>
Modifier and Type | Method and Description |
---|---|
default CreatePipelineResponse.Builder |
pipeline(Consumer<PipelineDeclaration.Builder> pipeline)
Represents the structure of actions and stages to be performed in the pipeline.
|
CreatePipelineResponse.Builder |
pipeline(PipelineDeclaration pipeline)
Represents the structure of actions and stages to be performed in the pipeline.
|
build
copy
apply, build
CreatePipelineResponse.Builder pipeline(PipelineDeclaration pipeline)
Represents the structure of actions and stages to be performed in the pipeline.
pipeline
- Represents the structure of actions and stages to be performed in the pipeline.default CreatePipelineResponse.Builder pipeline(Consumer<PipelineDeclaration.Builder> pipeline)
Represents the structure of actions and stages to be performed in the 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.