code: public DocumentDescription withAttachmentsInformation(AttachmentInformation... attachmentsInformation) {
          if (this.attachmentsInformation == null) {
              setAttachmentsInformation(new com.amazonaws.internal.SdkInternalList<AttachmentInformation>(attachmentsInformation.length));
          }
          for (AttachmentInformation ele : attachmentsInformation) {
              this.attachmentsInformation.add(ele);
          }
          return this;
      }
docs: <p>
  Details about the document attachments, including names, locations, sizes, etc.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAttachmentsInformation(java.util.Collection)} or
  {@link #withAttachmentsInformation(java.util.Collection)} if you want to override the existing values.
  </p>
  
  @param attachmentsInformation
  Details about the document attachments, including names, locations, sizes, etc.
  @return Returns a reference to this object so that method calls can be chained together.