public static interface PipelineContext.Builder extends SdkPojo, CopyableBuilder<PipelineContext.Builder,PipelineContext>
| Modifier and Type | Method and Description |
|---|---|
PipelineContext.Builder |
action(ActionContext action)
The context of an action to a job worker in the stage of a pipeline.
|
default PipelineContext.Builder |
action(Consumer<ActionContext.Builder> action)
The context of an action to a job worker in the stage of a pipeline.
|
PipelineContext.Builder |
pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
|
PipelineContext.Builder |
pipelineExecutionId(String pipelineExecutionId)
The execution ID of the 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.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 in the stage of a pipeline.
action - The context of an action to a job worker in the stage of a pipeline.default PipelineContext.Builder action(Consumer<ActionContext.Builder> action)
The context of an action to a job worker in the stage of a pipeline.
This is a convenience method 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)PipelineContext.Builder pipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
pipelineArn - The Amazon Resource Name (ARN) of the pipeline.PipelineContext.Builder pipelineExecutionId(String pipelineExecutionId)
The execution ID of the pipeline.
pipelineExecutionId - The execution ID of the pipeline.Copyright © 2023. All rights reserved.