code: public BatchStopJobRunResult withErrors(BatchStopJobRunError... errors) {
          if (this.errors == null) {
              setErrors(new java.util.ArrayList<BatchStopJobRunError>(errors.length));
          }
          for (BatchStopJobRunError ele : errors) {
              this.errors.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the errors that were encountered in tryng to stop JobRuns, including the JobRunId for which each error
  was encountered and details about the error.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setErrors(java.util.Collection)} or {@link #withErrors(java.util.Collection)} if you want to override the
  existing values.
  </p>
  
  @param errors
  A list of the errors that were encountered in tryng to stop JobRuns, including the JobRunId for which each
  error was encountered and details about the error.
  @return Returns a reference to this object so that method calls can be chained together.