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 StageContext
clone()
boolean
equals(Object obj)
String
getName()
The name of the stage.int
hashCode()
void
setName(String name)
The name of the stage.String
toString()
Returns a string representation of this object; useful for testing and debugging.StageContext
withName(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public StageContext clone()
-
-