@Generated(value="software.amazon.awssdk:codegen") public final class PipelineContext extends Object implements SdkPojo, Serializable, ToCopyableBuilder<PipelineContext.Builder,PipelineContext>
Represents information about a pipeline to a job worker.
PipelineContext contains pipelineArn and pipelineExecutionId for custom action jobs. The
pipelineArn and pipelineExecutionId fields are not populated for ThirdParty action jobs.
| Modifier and Type | Class and Description |
|---|---|
static interface |
PipelineContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
ActionContext |
action()
The context of an action to a job worker in the stage of a pipeline.
|
static PipelineContext.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
pipelineArn()
The Amazon Resource Name (ARN) of the pipeline.
|
String |
pipelineExecutionId()
The execution ID of the pipeline.
|
String |
pipelineName()
The name of the pipeline.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PipelineContext.Builder> |
serializableBuilderClass() |
StageContext |
stage()
The stage of the pipeline.
|
PipelineContext.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final StageContext stage()
The stage of the pipeline.
public final ActionContext action()
The context of an action to a job worker in the stage of a pipeline.
public final String pipelineArn()
The Amazon Resource Name (ARN) of the pipeline.
public final String pipelineExecutionId()
The execution ID of the pipeline.
public PipelineContext.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PipelineContext.Builder,PipelineContext>public static PipelineContext.Builder builder()
public static Class<? extends PipelineContext.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.