public RoomMembership withInvitedBy(String invitedBy) {
        setInvitedBy(invitedBy);
        return this;
    }
<p>
The identifier of the user that invited the room member.
</p>

@param invitedBy
       The identifier of the user that invited the room member.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-chime/src/main/java/com/amazonaws/services/chime/model/RoomMembership.java