public ListApplicationStatesRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If a <code>NextToken</code> was returned by a previous call, there are more results available. To retrieve the
next page of results, make the call again using the returned token in <code>NextToken</code>.
</p>

@param nextToken
       If a <code>NextToken</code> was returned by a previous call, there are more results available. To retrieve
       the next page of results, make the call again using the returned token in <code>NextToken</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-migrationhub/src/main/java/com/amazonaws/services/migrationhub/model/ListApplicationStatesRequest.java