public GetDataSourceResult withComputeStatistics(Boolean computeStatistics) {
        setComputeStatistics(computeStatistics);
        return this;
    }
<p>
The parameter is <code>true</code> if statistics need to be generated from the observation data.
</p>

@param computeStatistics
       The parameter is <code>true</code> if statistics need to be generated from the observation data.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-machinelearning/src/main/java/com/amazonaws/services/machinelearning/model/GetDataSourceResult.java