public ListIndexesRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
The parameter for receiving additional results if you receive a <code>NextToken</code> response in a previous
request. A <code>NextToken</code> response indicates that more output is available. Set this parameter to the
value of the previous call's <code>NextToken</code> response to indicate where the output should continue from.
The pagination tokens expire after 24 hours.
</p>

@param nextToken
       The parameter for receiving additional results if you receive a <code>NextToken</code> response in a
       previous request. A <code>NextToken</code> response indicates that more output is available. Set this
       parameter to the value of the previous call's <code>NextToken</code> response to indicate where the output
       should continue from. The pagination tokens expire after 24 hours.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-resourceexplorer2/src/main/java/com/amazonaws/services/resourceexplorer2/model/ListIndexesRequest.java