code: public TrainingSpecification withSupportedTuningJobObjectiveMetrics(HyperParameterTuningJobObjective... supportedTuningJobObjectiveMetrics) {
          if (this.supportedTuningJobObjectiveMetrics == null) {
              setSupportedTuningJobObjectiveMetrics(new java.util.ArrayList<HyperParameterTuningJobObjective>(supportedTuningJobObjectiveMetrics.length));
          }
          for (HyperParameterTuningJobObjective ele : supportedTuningJobObjectiveMetrics) {
              this.supportedTuningJobObjectiveMetrics.add(ele);
          }
          return this;
      }
docs: <p>
  A list of the metrics that the algorithm emits that can be used as the objective metric in a hyperparameter
  tuning job.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setSupportedTuningJobObjectiveMetrics(java.util.Collection)} or
  {@link #withSupportedTuningJobObjectiveMetrics(java.util.Collection)} if you want to override the existing
  values.
  </p>
  
  @param supportedTuningJobObjectiveMetrics
  A list of the metrics that the algorithm emits that can be used as the objective metric in a
  hyperparameter tuning job.
  @return Returns a reference to this object so that method calls can be chained together.