public void setNextToken(String nextToken) {
        this.nextToken = nextToken;
    }
<p>
The <code>nextToken</code> value returned from a previous paginated&#x2028;
<code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and the&#x2028;
results exceeded the value of that parameter. Pagination continues from the end of the&#x2028; previous results
that returned the <code>nextToken</code> value. This value is&#x2028; <code>null</code> when there are no more
results to return. This option cannot be used when you specify images with <code>imageIds</code>.
</p>

@param nextToken
       The <code>nextToken</code> value returned from a previous paginated&#x2028;
       <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and
       the&#x2028; results exceeded the value of that parameter. Pagination continues from the end of the&#x2028;
       previous results that returned the <code>nextToken</code> value. This value is&#x2028; <code>null</code>
       when there are no more results to return. This option cannot be used when you specify images with
       <code>imageIds</code>.
aws-java-sdk-ecr/src/main/java/com/amazonaws/services/ecr/model/GetLifecyclePolicyPreviewRequest.java