docs: public void setMetricData(java.util.Collection<MetricDatum> metricData) {
          if (metricData == null) {
              this.metricData = null;
              return;
          }
  
          this.metricData = new com.amazonaws.internal.SdkInternalList<MetricDatum>(metricData);
      }