public Invitation withRelationshipStatus(String relationshipStatus) {
        setRelationshipStatus(relationshipStatus);
        return this;
    }
<p>
The status of the relationship between the account that sent the invitation and the account that received the
invitation.
</p>

@param relationshipStatus
       The status of the relationship between the account that sent the invitation and the account that received
       the invitation.
@return Returns a reference to this object so that method calls can be chained together.
@see RelationshipStatus
aws-java-sdk-macie2/src/main/java/com/amazonaws/services/macie2/model/Invitation.java