Interface GetInvitationResponse.Builder

  • Method Details

    • environmentArn

      GetInvitationResponse.Builder environmentArn(String environmentArn)

      The ARN of the environment that extended the invitation to you. Use this value to identify the environment or owner account inviting you.

      Parameters:
      environmentArn - The ARN of the environment that extended the invitation to you. Use this value to identify the environment or owner account inviting you.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • inviteeAccountId

      GetInvitationResponse.Builder inviteeAccountId(String inviteeAccountId)

      The ID of the invited AWS account.

      Parameters:
      inviteeAccountId - The ID of the invited AWS account.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current lifecycle state of the invitation.

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

      The current lifecycle state of the invitation.

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

      The ARN of the role that AWS Assurance assumes in the invitee account. Present only when status is ACTIVE.

      Parameters:
      roleArn - The ARN of the role that AWS Assurance assumes in the invitee account. Present only when status is ACTIVE.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • createdAt

      GetInvitationResponse.Builder createdAt(Instant createdAt)

      The time when you created the invitation. If you called CreateInvitation again after the invitation was rejected, revoked, or expired, this is the time of your most recent call.

      Parameters:
      createdAt - The time when you created the invitation. If you called CreateInvitation again after the invitation was rejected, revoked, or expired, this is the time of your most recent call.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expiresAt

      GetInvitationResponse.Builder expiresAt(Instant expiresAt)

      The time when the invitation expires if not accepted.

      Parameters:
      expiresAt - The time when the invitation expires if not accepted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • updatedAt

      GetInvitationResponse.Builder updatedAt(Instant updatedAt)

      The time when the invitation last changed state (accept, reject, or revoke).

      Parameters:
      updatedAt - The time when the invitation last changed state (accept, reject, or revoke).
      Returns:
      Returns a reference to this object so that method calls can be chained together.