public void setDataPoints(java.util.Collection<DataPoint> dataPoints) {
        if (dataPoints == null) {
            this.dataPoints = null;
            return;
        }

        this.dataPoints = new java.util.ArrayList<DataPoint>(dataPoints);
    }
<p>
An array of timestamp-value pairs, representing measurements over a period of time.
</p>

@param dataPoints
       An array of timestamp-value pairs, representing measurements over a period of time.
aws-java-sdk-pi/src/main/java/com/amazonaws/services/pi/model/MetricKeyDataPoints.java