public static interface PipelineContext.Builder extends CopyableBuilder<PipelineContext.Builder,PipelineContext>
| Modifier and Type | Method and Description |
|---|---|
PipelineContext.Builder |
action(ActionContext action)
The context of an action to a job worker within the stage of a pipeline.
|
default PipelineContext.Builder |
action(Consumer<ActionContext.Builder> action)
The context of an action to a job worker within the stage of a pipeline.
|
PipelineContext.Builder |
pipelineName(String pipelineName)
The name of the pipeline.
|
default PipelineContext.Builder |
stage(Consumer<StageContext.Builder> stage)
The stage of the pipeline.
|
PipelineContext.Builder |
stage(StageContext stage)
The stage of the pipeline.
|
copyapply, buildPipelineContext.Builder pipelineName(String pipelineName)
The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all pipeline names under an Amazon Web Services account.
pipelineName - The name of the pipeline. This is a user-specified value. Pipeline names must be unique across all
pipeline names under an Amazon Web Services account.PipelineContext.Builder stage(StageContext stage)
The stage of the pipeline.
stage - The stage of the pipeline.default PipelineContext.Builder stage(Consumer<StageContext.Builder> stage)
The stage of the pipeline.
This is a convenience that creates an instance of theStageContext.Builder avoiding the need to
create one manually via StageContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to stage(StageContext).stage - a consumer that will call methods on StageContext.Builderstage(StageContext)PipelineContext.Builder action(ActionContext action)
The context of an action to a job worker within the stage of a pipeline.
action - The context of an action to a job worker within the stage of a pipeline.default PipelineContext.Builder action(Consumer<ActionContext.Builder> action)
The context of an action to a job worker within the stage of a pipeline.
This is a convenience that creates an instance of theActionContext.Builder avoiding the need to
create one manually via ActionContext.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to action(ActionContext).action - a consumer that will call methods on ActionContext.Builderaction(ActionContext)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.