public GetScalingPlanResourceForecastDataResult withDatapoints(java.util.Collection<Datapoint> datapoints) {
        setDatapoints(datapoints);
        return this;
    }
<p>
The data points to return.
</p>

@param datapoints
       The data points to return.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscalingplans/src/main/java/com/amazonaws/services/autoscalingplans/model/GetScalingPlanResourceForecastDataResult.java