public ListEnvironmentsRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A token generated by FinSpace that specifies where to continue pagination if a previous request was truncated. To
get the next set of pages, pass in the <code>nextToken</code>nextToken value from the response object of the
previous page call.
</p>

@param nextToken
       A token generated by FinSpace that specifies where to continue pagination if a previous request was
       truncated. To get the next set of pages, pass in the <code>nextToken</code>nextToken value from the
       response object of the previous page call.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspace/src/main/java/com/amazonaws/services/finspace/model/ListEnvironmentsRequest.java