code: public TrainingJob withFinalMetricDataList(MetricData... finalMetricDataList) {
          if (this.finalMetricDataList == null) {
              setFinalMetricDataList(new java.util.ArrayList<MetricData>(finalMetricDataList.length));
          }
          for (MetricData ele : finalMetricDataList) {
              this.finalMetricDataList.add(ele);
          }
          return this;
      }
docs: <p>
  A list of final metric values that are set when the training job completes. Used only if the training job was
  configured to use metrics.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setFinalMetricDataList(java.util.Collection)} or {@link #withFinalMetricDataList(java.util.Collection)}
  if you want to override the existing values.
  </p>
  
  @param finalMetricDataList
  A list of final metric values that are set when the training job completes. Used only if the training job
  was configured to use metrics.
  @return Returns a reference to this object so that method calls can be chained together.