code: public void setMetricDataResults(java.util.Collection<MetricDataResult> metricDataResults) {
          if (metricDataResults == null) {
              this.metricDataResults = null;
              return;
          }
  
          this.metricDataResults = new com.amazonaws.internal.SdkInternalList<MetricDataResult>(metricDataResults);
      }
docs: <p>
  The metrics that are returned, including the metric name, namespace, and dimensions.
  </p>
  
  @param metricDataResults
  The metrics that are returned, including the metric name, namespace, and dimensions.