/** * <p> * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * </p> * * @param imageIds * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteImageRequest withImageIds(java.util.Collection<ImageIdentifier> imageIds) { setImageIds(imageIds); return this; }
/** * <p> * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setImageIds(java.util.Collection)} or {@link #withImageIds(java.util.Collection)} if you want to override * the existing values. * </p> * * @param imageIds * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteImageRequest withImageIds(ImageIdentifier... imageIds) { if (this.imageIds == null) { setImageIds(new java.util.ArrayList<ImageIdentifier>(imageIds.length)); } for (ImageIdentifier ele : imageIds) { this.imageIds.add(ele); } return this; }
/** * <p> * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * </p> * * @param imageIds * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteImageRequest withImageIds(java.util.Collection<ImageIdentifier> imageIds) { setImageIds(imageIds); return this; }
/** * <p> * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setImageIds(java.util.Collection)} or {@link #withImageIds(java.util.Collection)} if you want to override * the existing values. * </p> * * @param imageIds * A list of image ID references that correspond to images to delete. The format of the <code>imageIds</code> * reference is <code>imageTag=tag</code> or <code>imageDigest=digest</code>. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchDeleteImageRequest withImageIds(ImageIdentifier... imageIds) { if (this.imageIds == null) { setImageIds(new java.util.ArrayList<ImageIdentifier>(imageIds.length)); } for (ImageIdentifier ele : imageIds) { this.imageIds.add(ele); } return this; }