code: public Communication withAttachmentSet(AttachmentDetails... attachmentSet) {
          if (this.attachmentSet == null) {
              setAttachmentSet(new com.amazonaws.internal.SdkInternalList<AttachmentDetails>(attachmentSet.length));
          }
          for (AttachmentDetails ele : attachmentSet) {
              this.attachmentSet.add(ele);
          }
          return this;
      }
docs: <p>
  Information about the attachments to the case communication.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setAttachmentSet(java.util.Collection)} or {@link #withAttachmentSet(java.util.Collection)} if you want
  to override the existing values.
  </p>
  
  @param attachmentSet
  Information about the attachments to the case communication.
  @return Returns a reference to this object so that method calls can be chained together.