Interface UpdateApprovalActionResponse.Builder

  • Method Details

    • approvalId

      Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.

      Parameters:
      approvalId - Identifier of the approval request that was resolved. Echoed back so the client can correlate the response with the request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.

      Parameters:
      status - Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • status

      Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.

      Parameters:
      status - Lifecycle status of the approval request immediately after submission. Expected post-submission states are APPROVED (when the action is APPROVED) or REJECTED (when the action is REJECTED); PENDING is not returned from this operation, and REVOKED and REDEEMED are reachable only via subsequent reads.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expiresAt

      Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.

      Parameters:
      expiresAt - Absolute timestamp at which the approval expires. Set when status is APPROVED (computed as the submission time plus ttlSeconds); absent when status is REJECTED.
      Returns:
      Returns a reference to this object so that method calls can be chained together.