/** * <p> * The <code>nextToken</code> value returned from a previous paginated
 * <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and the
 * results exceeded the value of that parameter. Pagination continues from the end of the
 previous results * that returned the <code>nextToken</code> value. This value is
 <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
 * <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and * the
 results exceeded the value of that parameter. Pagination continues from the end of the
 * previous results that returned the <code>nextToken</code> value. This value is
 <code>null</code> * when there are no more results to return. This option cannot be used when you specify images with * <code>imageIds</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLifecyclePolicyPreviewRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; }
/** * <p> * The <code>nextToken</code> value returned from a previous paginated
 * <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and the
 * results exceeded the value of that parameter. Pagination continues from the end of the
 previous results * that returned the <code>nextToken</code> value. This value is
 <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
 * <code>GetLifecyclePolicyPreviewRequest</code> request where <code>maxResults</code> was used and * the
 results exceeded the value of that parameter. Pagination continues from the end of the
 * previous results that returned the <code>nextToken</code> value. This value is
 <code>null</code> * when there are no more results to return. This option cannot be used when you specify images with * <code>imageIds</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public GetLifecyclePolicyPreviewRequest withNextToken(String nextToken) { setNextToken(nextToken); return this; }