public void setMetricDatapoints(java.util.Collection<InsightRuleMetricDatapoint> metricDatapoints) {
        if (metricDatapoints == null) {
            this.metricDatapoints = null;
            return;
        }

        this.metricDatapoints = new com.amazonaws.internal.SdkInternalList<InsightRuleMetricDatapoint>(metricDatapoints);
    }
<p>
A time series of metric data points that matches the time period in the rule request.
</p>

@param metricDatapoints
       A time series of metric data points that matches the time period in the rule request.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/GetInsightRuleReportResult.java