public ListResourcesResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To retrieve
the next set of results, call <code>ListResources</code> again and assign that token to the request object's
<code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to null.
</p>

@param nextToken
       If the request doesn't return all of the remaining results, <code>NextToken</code> is set to a token. To
       retrieve the next set of results, call <code>ListResources</code> again and assign that token to the
       request object's <code>NextToken</code> parameter. If the request returns all results,
       <code>NextToken</code> is set to null.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudcontrolapi/src/main/java/com/amazonaws/services/cloudcontrolapi/model/ListResourcesResult.java