public ListAttacksRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
When you request a list of objects from Shield Advanced, if the response does not include all of the remaining
available objects, Shield Advanced includes a <code>NextToken</code> value in the response. You can retrieve the
next batch of objects by requesting the list again and providing the token that was returned by the prior call in
your request.
</p>
<p>
You can indicate the maximum number of objects that you want Shield Advanced to return for a single call with the
<code>MaxResults</code> setting. Shield Advanced will not return more than <code>MaxResults</code> objects, but
may return fewer, even if more objects are still available.
</p>
<p>
Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
<code>NextToken</code> value.
</p>
<p>
On your first call to a list operation, leave this setting empty.
</p>

@param nextToken
       When you request a list of objects from Shield Advanced, if the response does not include all of the
       remaining available objects, Shield Advanced includes a <code>NextToken</code> value in the response. You
       can retrieve the next batch of objects by requesting the list again and providing the token that was
       returned by the prior call in your request. </p>
       <p>
       You can indicate the maximum number of objects that you want Shield Advanced to return for a single call
       with the <code>MaxResults</code> setting. Shield Advanced will not return more than
       <code>MaxResults</code> objects, but may return fewer, even if more objects are still available.
       </p>
       <p>
       Whenever more objects remain that Shield Advanced has not yet returned to you, the response will include a
       <code>NextToken</code> value.
       </p>
       <p>
       On your first call to a list operation, leave this setting empty.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-shield/src/main/java/com/amazonaws/services/shield/model/ListAttacksRequest.java