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:
  • Constructor Details

    • StageDeclaration

      public StageDeclaration()
  • Method Details

    • 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) or withBlockers(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) or withActions(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 class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public StageDeclaration clone()
      Overrides:
      clone in class Object