public ListScansResult withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
A pagination token. You can use this in future calls to <code>ListScans</code> to continue listing results after
the current page.
</p>

@param nextToken
       A pagination token. You can use this in future calls to <code>ListScans</code> to continue listing results
       after the current page.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codegurusecurity/src/main/java/com/amazonaws/services/codegurusecurity/model/ListScansResult.java