/** * <p> * The digests of the image layers to check. * </p> * * @param layerDigests * The digests of the image layers to check. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCheckLayerAvailabilityRequest withLayerDigests(java.util.Collection<String> layerDigests) { setLayerDigests(layerDigests); return this; }
/** * <p> * The digests of the image layers to check. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setLayerDigests(java.util.Collection)} or {@link #withLayerDigests(java.util.Collection)} if you want to * override the existing values. * </p> * * @param layerDigests * The digests of the image layers to check. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCheckLayerAvailabilityRequest withLayerDigests(String... layerDigests) { if (this.layerDigests == null) { setLayerDigests(new java.util.ArrayList<String>(layerDigests.length)); } for (String ele : layerDigests) { this.layerDigests.add(ele); } return this; }
/** * <p> * The digests of the image layers to check. * </p> * * @param layerDigests * The digests of the image layers to check. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCheckLayerAvailabilityRequest withLayerDigests(java.util.Collection<String> layerDigests) { setLayerDigests(layerDigests); return this; }
/** * <p> * The digests of the image layers to check. * </p> * <p> * <b>NOTE:</b> This method appends the values to the existing list (if any). Use * {@link #setLayerDigests(java.util.Collection)} or {@link #withLayerDigests(java.util.Collection)} if you want to * override the existing values. * </p> * * @param layerDigests * The digests of the image layers to check. * @return Returns a reference to this object so that method calls can be chained together. */ public BatchCheckLayerAvailabilityRequest withLayerDigests(String... layerDigests) { if (this.layerDigests == null) { setLayerDigests(new java.util.ArrayList<String>(layerDigests.length)); } for (String ele : layerDigests) { this.layerDigests.add(ele); } return this; }