docs: public Volume withAttachments(VolumeAttachment... attachments) {
          if (this.attachments == null) {
              setAttachments(new com.amazonaws.internal.SdkInternalList<VolumeAttachment>(attachments.length));
          }
          for (VolumeAttachment ele : attachments) {
              this.attachments.add(ele);
          }
          return this;
      }