docs: public void setIndexAttachments(java.util.Collection<IndexAttachment> indexAttachments) {
          if (indexAttachments == null) {
              this.indexAttachments = null;
              return;
          }
  
          this.indexAttachments = new java.util.ArrayList<IndexAttachment>(indexAttachments);
      }