/** * <p> * The list of image IDs for the requested repository. * </p> * * @param imageIds * The list of image IDs for the requested repository. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeImagesRequest withImageIds(java.util.Collection<ImageIdentifier> imageIds) { setImageIds(imageIds); return this; }
/** * <p> * The list of image IDs for the requested repository. * </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 * The list of image IDs for the requested repository. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeImagesRequest 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> * The list of image IDs for the requested repository. * </p> * * @param imageIds * The list of image IDs for the requested repository. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeImagesRequest withImageIds(java.util.Collection<ImageIdentifier> imageIds) { setImageIds(imageIds); return this; }
/** * <p> * The list of image IDs for the requested repository. * </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 * The list of image IDs for the requested repository. * @return Returns a reference to this object so that method calls can be chained together. */ public DescribeImagesRequest 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; }