Interface CanaryStatus.Builder

  • Method Details

    • state

      The current state of the canary.

      Parameters:
      state - The current state of the canary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • state

      The current state of the canary.

      Parameters:
      state - The current state of the canary.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReason

      CanaryStatus.Builder stateReason(String stateReason)

      If the canary has insufficient permissions to run, this field provides more details.

      Parameters:
      stateReason - If the canary has insufficient permissions to run, this field provides more details.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • stateReasonCode

      CanaryStatus.Builder stateReasonCode(String stateReasonCode)

      If the canary cannot run or has failed, this field displays the reason.

      Parameters:
      stateReasonCode - If the canary cannot run or has failed, this field displays the reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • stateReasonCode

      CanaryStatus.Builder stateReasonCode(CanaryStateReasonCode stateReasonCode)

      If the canary cannot run or has failed, this field displays the reason.

      Parameters:
      stateReasonCode - If the canary cannot run or has failed, this field displays the reason.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: