code: public CompleteLayerUploadRequest 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;
      }
docs: <p>
  The <code>sha256</code> digest of the image layer.
  </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 <code>sha256</code> digest of the image layer.
  @return Returns a reference to this object so that method calls can be chained together.