public SearchRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
When the number of results is greater than the default value for the <code>MaxResults</code> parameter, or if you
explicitly specify a value for <code>MaxResults</code> that is less than the number of results, the response
includes a pagination token named <code>NextToken</code>. You can specify this <code>NextToken</code> value in a
subsequent call to <code>Search</code> to list the next set of results.
</p>

@param nextToken
       When the number of results is greater than the default value for the <code>MaxResults</code> parameter, or
       if you explicitly specify a value for <code>MaxResults</code> that is less than the number of results, the
       response includes a pagination token named <code>NextToken</code>. You can specify this
       <code>NextToken</code> value in a subsequent call to <code>Search</code> to list the next set of results.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datazoneexternal/src/main/java/com/amazonaws/services/datazone/model/SearchRequest.java