Interface Invitation.Builder

    • Method Detail

      • accountId

        Invitation.Builder accountId​(String accountId)

        The Amazon Web Services account ID for the account that sent the invitation.

        Parameters:
        accountId - The Amazon Web Services account ID for the account that sent the invitation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invitationId

        Invitation.Builder invitationId​(String invitationId)

        The unique identifier for the invitation.

        Parameters:
        invitationId - The unique identifier for the invitation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • invitedAt

        Invitation.Builder invitedAt​(Instant invitedAt)

        The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.

        Parameters:
        invitedAt - The date and time, in UTC and extended ISO 8601 format, when the invitation was sent.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • relationshipStatus

        Invitation.Builder relationshipStatus​(String relationshipStatus)

        The status of the relationship between the account that sent the invitation and the account that received the invitation.

        Parameters:
        relationshipStatus - The status of the relationship between the account that sent the invitation and the account that received the invitation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelationshipStatus, RelationshipStatus
      • relationshipStatus

        Invitation.Builder relationshipStatus​(RelationshipStatus relationshipStatus)

        The status of the relationship between the account that sent the invitation and the account that received the invitation.

        Parameters:
        relationshipStatus - The status of the relationship between the account that sent the invitation and the account that received the invitation.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        RelationshipStatus, RelationshipStatus