public ListImagesRequest withNextToken(String nextToken) {
        setNextToken(nextToken);
        return this;
    }
<p>
If the previous call to <code>ListImages</code> didn't return the full set of images, the call returns a token
for getting the next set of images.
</p>

@param nextToken
       If the previous call to <code>ListImages</code> didn't return the full set of images, the call returns a
       token for getting the next set of images.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ListImagesRequest.java