docs: public RecordDetail withRecordErrors(RecordError... recordErrors) {
          if (this.recordErrors == null) {
              setRecordErrors(new java.util.ArrayList<RecordError>(recordErrors.length));
          }
          for (RecordError ele : recordErrors) {
              this.recordErrors.add(ele);
          }
          return this;
      }