public ListGeneratedTemplatesResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If the request doesn't return all the remaining results, <code>NextToken</code> is set to a token. To retrieve
the next set of results, call <code>ListGeneratedTemplates</code> again and use that value for the
<code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to an empty
string.
</p>

@param nextToken
       If the request doesn't return all the remaining results, <code>NextToken</code> is set to a token. To
       retrieve the next set of results, call <code>ListGeneratedTemplates</code> again and use that value for
       the <code>NextToken</code> parameter. If the request returns all results, <code>NextToken</code> is set to
       an empty string.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudformation/src/main/java/com/amazonaws/services/cloudformation/model/ListGeneratedTemplatesResult.java