@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PipelineContext extends Object implements Serializable, Cloneable, StructuredPojo
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.
Constructor and Description |
---|
PipelineContext() |
Modifier and Type | Method and Description |
---|---|
PipelineContext |
clone() |
boolean |
equals(Object obj) |
ActionContext |
getAction()
The context of an action to a job worker in the stage of a pipeline.
|
String |
getPipelineArn()
The Amazon Resource Name (ARN) of the pipeline.
|
String |
getPipelineExecutionId()
The execution ID of the pipeline.
|
String |
getPipelineName()
The name of the pipeline.
|
StageContext |
getStage()
The stage of the pipeline.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAction(ActionContext action)
The context of an action to a job worker in the stage of a pipeline.
|
void |
setPipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
|
void |
setPipelineExecutionId(String pipelineExecutionId)
The execution ID of the pipeline.
|
void |
setPipelineName(String pipelineName)
The name of the pipeline.
|
void |
setStage(StageContext stage)
The stage of the pipeline.
|
String |
toString()
Returns a string representation of this object.
|
PipelineContext |
withAction(ActionContext action)
The context of an action to a job worker in the stage of a pipeline.
|
PipelineContext |
withPipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
|
PipelineContext |
withPipelineExecutionId(String pipelineExecutionId)
The execution ID of the pipeline.
|
PipelineContext |
withPipelineName(String pipelineName)
The name of the pipeline.
|
PipelineContext |
withStage(StageContext stage)
The stage of the pipeline.
|
public void setPipelineName(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.public String getPipelineName()
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 PipelineContext withPipelineName(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.public void setStage(StageContext stage)
The stage of the pipeline.
stage
- The stage of the pipeline.public StageContext getStage()
The stage of the pipeline.
public PipelineContext withStage(StageContext stage)
The stage of the pipeline.
stage
- The stage of the pipeline.public void setAction(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.public ActionContext getAction()
The context of an action to a job worker in the stage of a pipeline.
public PipelineContext withAction(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.public void setPipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
pipelineArn
- The Amazon Resource Name (ARN) of the pipeline.public String getPipelineArn()
The Amazon Resource Name (ARN) of the pipeline.
public PipelineContext withPipelineArn(String pipelineArn)
The Amazon Resource Name (ARN) of the pipeline.
pipelineArn
- The Amazon Resource Name (ARN) of the pipeline.public void setPipelineExecutionId(String pipelineExecutionId)
The execution ID of the pipeline.
pipelineExecutionId
- The execution ID of the pipeline.public String getPipelineExecutionId()
The execution ID of the pipeline.
public PipelineContext withPipelineExecutionId(String pipelineExecutionId)
The execution ID of the pipeline.
pipelineExecutionId
- The execution ID of the pipeline.public String toString()
toString
in class Object
Object.toString()
public PipelineContext clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.