code: public GetDocumentResult withAttachmentsContent(AttachmentContent... attachmentsContent) {
          if (this.attachmentsContent == null) {
              setAttachmentsContent(new com.amazonaws.internal.SdkInternalList<AttachmentContent>(attachmentsContent.length));
          }
          for (AttachmentContent ele : attachmentsContent) {
              this.attachmentsContent.add(ele);
          }
          return this;
      }
docs: <p>
  A description of 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 #setAttachmentsContent(java.util.Collection)} or {@link #withAttachmentsContent(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param attachmentsContent
  A description of the document attachments, including names, locations, sizes, etc.
  @return Returns a reference to this object so that method calls can be chained together.