public ListChannelMembershipsRequest withChannelArn(String channelArn) {
        setChannelArn(channelArn);
        return this;
    }
<p>
The maximum number of channel memberships that you want returned.
</p>

@param channelArn
       The maximum number of channel memberships that you want returned.
@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/ListChannelMembershipsRequest.java