code: public GetMetricStatisticsResult withDatapoints(Datapoint... datapoints) {
          if (this.datapoints == null) {
              setDatapoints(new com.amazonaws.internal.SdkInternalList<Datapoint>(datapoints.length));
          }
          for (Datapoint ele : datapoints) {
              this.datapoints.add(ele);
          }
          return this;
      }
docs: <p>
  The data points for the specified metric.
  </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
  The data points for the specified metric.
  @return Returns a reference to this object so that method calls can be chained together.