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 PipelineContext
clone()
boolean
equals(Object obj)
ActionContext
getAction()
String
getPipelineName()
The name of the pipeline.StageContext
getStage()
The stage of the pipeline.int
hashCode()
void
setAction(ActionContext action)
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; useful for testing and debugging.PipelineContext
withAction(ActionContext action)
PipelineContext
withPipelineName(String pipelineName)
The name of the pipeline.PipelineContext
withStage(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public PipelineContext clone()
-
-