public ListAlertsResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If the response is truncated, the service returns this token. To retrieve the next set of results, use this token
in the next request.
</p>

@param nextToken
       If the response is truncated, the service returns this token. To retrieve the next set of results, use
       this token in the next request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-lookoutmetrics/src/main/java/com/amazonaws/services/lookoutmetrics/model/ListAlertsResult.java