Class PipelineContext
- java.lang.Object
-
- software.amazon.awssdk.services.codepipeline.model.PipelineContext
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PipelineContext.Builder,PipelineContext>
@Generated("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
pipelineArnandpipelineExecutionIdfor custom action jobs. ThepipelineArnandpipelineExecutionIdfields are not populated for ThirdParty action jobs.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePipelineContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ActionContextaction()The context of an action to a job worker in the stage of a pipeline.static PipelineContext.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringpipelineArn()The Amazon Resource Name (ARN) of the pipeline.StringpipelineExecutionId()The execution ID of the pipeline.StringpipelineName()The name of the pipeline.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends PipelineContext.Builder>serializableBuilderClass()StageContextstage()The stage of the pipeline.PipelineContext.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
pipelineName
public 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.
- Returns:
- 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.
-
stage
public final StageContext stage()
The stage of the pipeline.
- Returns:
- The stage of the pipeline.
-
action
public final ActionContext action()
The context of an action to a job worker in the stage of a pipeline.
- Returns:
- The context of an action to a job worker in the stage of a pipeline.
-
pipelineArn
public final String pipelineArn()
The Amazon Resource Name (ARN) of the pipeline.
- Returns:
- The Amazon Resource Name (ARN) of the pipeline.
-
pipelineExecutionId
public final String pipelineExecutionId()
The execution ID of the pipeline.
- Returns:
- The execution ID of the pipeline.
-
toBuilder
public PipelineContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PipelineContext.Builder,PipelineContext>
-
builder
public static PipelineContext.Builder builder()
-
serializableBuilderClass
public static Class<? extends PipelineContext.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-