code: public ListTrainingJobsResult withTrainingJobSummaries(TrainingJobSummary... trainingJobSummaries) {
          if (this.trainingJobSummaries == null) {
              setTrainingJobSummaries(new java.util.ArrayList<TrainingJobSummary>(trainingJobSummaries.length));
          }
          for (TrainingJobSummary ele : trainingJobSummaries) {
              this.trainingJobSummaries.add(ele);
          }
          return this;
      }
docs: <p>
  An array of <code>TrainingJobSummary</code> objects, each listing a training job.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setTrainingJobSummaries(java.util.Collection)} or {@link #withTrainingJobSummaries(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param trainingJobSummaries
  An array of <code>TrainingJobSummary</code> objects, each listing a training job.
  @return Returns a reference to this object so that method calls can be chained together.