Class StageContext
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.StageContext
-
- All Implemented Interfaces:
Serializable,Cloneable
public class StageContext extends Object implements Serializable, Cloneable
Represents information about a stage to a job worker.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StageContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StageContextclone()booleanequals(Object obj)StringgetName()The name of the stage.inthashCode()voidsetName(String name)The name of the stage.StringtoString()Returns a string representation of this object; useful for testing and debugging.StageContextwithName(String name)The name of the stage.
-
-
-
Method Detail
-
setName
public void setName(String name)
The name of the stage.
- Parameters:
name- The name of the stage.
-
getName
public String getName()
The name of the stage.
- Returns:
- The name of the stage.
-
withName
public StageContext withName(String name)
The name of the stage.
- Parameters:
name- The name of the stage.- 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 StageContext clone()
-
-