public ListChannelMembershipsForAppInstanceUserRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
The token returned from previous API requests until the number of channel memberships is reached.
</p>

@param nextToken
       The token returned from previous API requests until the number of channel memberships is reached.
@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/ListChannelMembershipsForAppInstanceUserRequest.java