Class TransitionState

java.lang.Object
com.amazonaws.services.codepipeline.model.TransitionState
All Implemented Interfaces:
Serializable, Cloneable

public class TransitionState extends Object implements Serializable, Cloneable

Represents information about the state of transitions between one stage and another stage.

See Also:
  • Constructor Details

    • TransitionState

      public TransitionState()
  • Method Details

    • setEnabled

      public void setEnabled(Boolean enabled)

      Whether the transition between stages is enabled (true) or disabled (false).

      Parameters:
      enabled - Whether the transition between stages is enabled (true) or disabled (false).
    • getEnabled

      public Boolean getEnabled()

      Whether the transition between stages is enabled (true) or disabled (false).

      Returns:
      Whether the transition between stages is enabled (true) or disabled (false).
    • withEnabled

      public TransitionState withEnabled(Boolean enabled)

      Whether the transition between stages is enabled (true) or disabled (false).

      Parameters:
      enabled - Whether the transition between stages is enabled (true) or disabled (false).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isEnabled

      public Boolean isEnabled()

      Whether the transition between stages is enabled (true) or disabled (false).

      Returns:
      Whether the transition between stages is enabled (true) or disabled (false).
    • setLastChangedBy

      public void setLastChangedBy(String lastChangedBy)

      The ID of the user who last changed the transition state.

      Parameters:
      lastChangedBy - The ID of the user who last changed the transition state.
    • getLastChangedBy

      public String getLastChangedBy()

      The ID of the user who last changed the transition state.

      Returns:
      The ID of the user who last changed the transition state.
    • withLastChangedBy

      public TransitionState withLastChangedBy(String lastChangedBy)

      The ID of the user who last changed the transition state.

      Parameters:
      lastChangedBy - The ID of the user who last changed the transition state.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setLastChangedAt

      public void setLastChangedAt(Date lastChangedAt)

      The timestamp when the transition state was last changed.

      Parameters:
      lastChangedAt - The timestamp when the transition state was last changed.
    • getLastChangedAt

      public Date getLastChangedAt()

      The timestamp when the transition state was last changed.

      Returns:
      The timestamp when the transition state was last changed.
    • withLastChangedAt

      public TransitionState withLastChangedAt(Date lastChangedAt)

      The timestamp when the transition state was last changed.

      Parameters:
      lastChangedAt - The timestamp when the transition state was last changed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDisabledReason

      public void setDisabledReason(String disabledReason)

      The user-specified reason why the transition between two stages of a pipeline was disabled.

      Parameters:
      disabledReason - The user-specified reason why the transition between two stages of a pipeline was disabled.
    • getDisabledReason

      public String getDisabledReason()

      The user-specified reason why the transition between two stages of a pipeline was disabled.

      Returns:
      The user-specified reason why the transition between two stages of a pipeline was disabled.
    • withDisabledReason

      public TransitionState withDisabledReason(String disabledReason)

      The user-specified reason why the transition between two stages of a pipeline was disabled.

      Parameters:
      disabledReason - The user-specified reason why the transition between two stages of a pipeline was disabled.
      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 TransitionState clone()
      Overrides:
      clone in class Object