public ChannelMembership withInvitedBy(Identity invitedBy) {
        setInvitedBy(invitedBy);
        return this;
    }
<p>
The identifier of the member who invited another member.
</p>

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