code: public GetMetricDataResult withMetricDataResults(MetricDataResult... metricDataResults) {
          if (this.metricDataResults == null) {
              setMetricDataResults(new com.amazonaws.internal.SdkInternalList<MetricDataResult>(metricDataResults.length));
          }
          for (MetricDataResult ele : metricDataResults) {
              this.metricDataResults.add(ele);
          }
          return this;
      }
docs: <p>
  The metrics that are returned, including the metric name, namespace, and dimensions.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setMetricDataResults(java.util.Collection)} or {@link #withMetricDataResults(java.util.Collection)} if
  you want to override the existing values.
  </p>
  
  @param metricDataResults
  The metrics that are returned, including the metric name, namespace, and dimensions.
  @return Returns a reference to this object so that method calls can be chained together.