public ListWorkgroupsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If your initial ListWorkgroups operation returns a <code>nextToken</code>, you can include the returned
<code>nextToken</code> in following ListNamespaces operations, which returns results in the next page.
</p>

@param nextToken
       If your initial ListWorkgroups operation returns a <code>nextToken</code>, you can include the returned
       <code>nextToken</code> in following ListNamespaces operations, which returns results in the next page.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/ListWorkgroupsRequest.java