code: public GetInstanceMetricDataRequest withStatistics(MetricStatistic... statistics) {
          java.util.ArrayList<String> statisticsCopy = new java.util.ArrayList<String>(statistics.length);
          for (MetricStatistic value : statistics) {
              statisticsCopy.add(value.toString());
          }
          if (getStatistics() == null) {
              setStatistics(statisticsCopy);
          } else {
              getStatistics().addAll(statisticsCopy);
          }
          return this;
      }
docs: <p>
  The instance statistics.
  </p>
  
  @param statistics
  The instance statistics.
  @return Returns a reference to this object so that method calls can be chained together.
  @see MetricStatistic