docs: public MetricDataResult withTimestamps(java.util.Date... timestamps) {
          if (this.timestamps == null) {
              setTimestamps(new com.amazonaws.internal.SdkInternalList<java.util.Date>(timestamps.length));
          }
          for (java.util.Date ele : timestamps) {
              this.timestamps.add(ele);
          }
          return this;
      }