docs: public ListMetricsResult withMetrics(Metric... metrics) {
          if (this.metrics == null) {
              setMetrics(new com.amazonaws.internal.SdkInternalList<Metric>(metrics.length));
          }
          for (Metric ele : metrics) {
              this.metrics.add(ele);
          }
          return this;
      }