Class StageDeclaration
- java.lang.Object
-
- com.amazonaws.services.codepipeline.model.StageDeclaration
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class StageDeclaration extends Object implements Serializable, Cloneable
Represents information about a stage and its definition.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description StageDeclaration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StageDeclaration
clone()
boolean
equals(Object obj)
List<ActionDeclaration>
getActions()
The actions included in a stage.List<BlockerDeclaration>
getBlockers()
Reserved for future use.String
getName()
The name of the stage.int
hashCode()
void
setActions(Collection<ActionDeclaration> actions)
The actions included in a stage.void
setBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.void
setName(String name)
The name of the stage.String
toString()
Returns a string representation of this object; useful for testing and debugging.StageDeclaration
withActions(ActionDeclaration... actions)
The actions included in a stage.StageDeclaration
withActions(Collection<ActionDeclaration> actions)
The actions included in a stage.StageDeclaration
withBlockers(BlockerDeclaration... blockers)
Reserved for future use.StageDeclaration
withBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.StageDeclaration
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 StageDeclaration 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.
-
getBlockers
public List<BlockerDeclaration> getBlockers()
Reserved for future use.
- Returns:
- Reserved for future use.
-
setBlockers
public void setBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
- Parameters:
blockers
- Reserved for future use.
-
withBlockers
public StageDeclaration withBlockers(BlockerDeclaration... blockers)
Reserved for future use.
NOTE: This method appends the values to the existing list (if any). Use
setBlockers(java.util.Collection)
orwithBlockers(java.util.Collection)
if you want to override the existing values.- Parameters:
blockers
- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withBlockers
public StageDeclaration withBlockers(Collection<BlockerDeclaration> blockers)
Reserved for future use.
- Parameters:
blockers
- Reserved for future use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getActions
public List<ActionDeclaration> getActions()
The actions included in a stage.
- Returns:
- The actions included in a stage.
-
setActions
public void setActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
- Parameters:
actions
- The actions included in a stage.
-
withActions
public StageDeclaration withActions(ActionDeclaration... actions)
The actions included in a stage.
NOTE: This method appends the values to the existing list (if any). Use
setActions(java.util.Collection)
orwithActions(java.util.Collection)
if you want to override the existing values.- Parameters:
actions
- The actions included in a stage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withActions
public StageDeclaration withActions(Collection<ActionDeclaration> actions)
The actions included in a stage.
- Parameters:
actions
- The actions included in a 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 StageDeclaration clone()
-
-