Class PipelineContext
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.PipelineContext
-
- All Implemented Interfaces:
Serializable,Cloneable
public class PipelineContext extends Object implements Serializable, Cloneable
Represents information about a pipeline to a job worker.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PipelineContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PipelineContextclone()booleanequals(Object obj)ActionContextgetAction()StringgetPipelineName()The name of the pipeline.StageContextgetStage()The stage of the pipeline.inthashCode()voidsetAction(ActionContext action)voidsetPipelineName(String pipelineName)The name of the pipeline.voidsetStage(StageContext stage)The stage of the pipeline.StringtoString()Returns a string representation of this object; useful for testing and debugging.PipelineContextwithAction(ActionContext action)PipelineContextwithPipelineName(String pipelineName)The name of the pipeline.PipelineContextwithStage(StageContext stage)The stage of the pipeline.
-
-
-
Method Detail
-
setPipelineName
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.
- Parameters:
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.
-
getPipelineName
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.
- 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.
-
withPipelineName
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
setStage
public void setStage(StageContext stage)
The stage of the pipeline.
- Parameters:
stage- The stage of the pipeline.
-
getStage
public StageContext getStage()
The stage of the pipeline.
- Returns:
- The stage of the pipeline.
-
withStage
public PipelineContext withStage(StageContext stage)
The stage of the pipeline.
- Parameters:
stage- The stage of the pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setAction
public void setAction(ActionContext action)
- Parameters:
action-
-
getAction
public ActionContext getAction()
- Returns:
-
withAction
public PipelineContext withAction(ActionContext action)
- Parameters:
action-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PipelineContext clone()
-
-