public ListChannelMembershipsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
The token passed by previous API calls until all requested channel memberships are returned.
</p>

@param nextToken
       The token passed by previous API calls until all requested channel memberships are 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