Interface TransitionState.Builder

  • Method Details

    • enabled

      TransitionState.Builder enabled(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.
    • lastChangedBy

      TransitionState.Builder lastChangedBy(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.
    • lastChangedAt

      TransitionState.Builder lastChangedAt(Instant 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.
    • disabledReason

      TransitionState.Builder disabledReason(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.