code: public MetricKeyDataPoints withDataPoints(DataPoint... dataPoints) {
          if (this.dataPoints == null) {
              setDataPoints(new java.util.ArrayList<DataPoint>(dataPoints.length));
          }
          for (DataPoint ele : dataPoints) {
              this.dataPoints.add(ele);
          }
          return this;
      }
docs: <p>
  An array of timestamp-value pairs, representing measurements over a period of time.
  </p>
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setDataPoints(java.util.Collection)} or {@link #withDataPoints(java.util.Collection)} if you want to
  override the existing values.
  </p>
  
  @param dataPoints
  An array of timestamp-value pairs, representing measurements over a period of time.
  @return Returns a reference to this object so that method calls can be chained together.