public DescribeDatasetResult withDataFrequency(String dataFrequency) {
        setDataFrequency(dataFrequency);
        return this;
    }
<p>
The frequency of data collection.
</p>
<p>
Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15 minutes),
10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every month and "30min"
indicates every 30 minutes.
</p>

@param dataFrequency
       The frequency of data collection.</p>
       <p>
       Valid intervals are Y (Year), M (Month), W (Week), D (Day), H (Hour), 30min (30 minutes), 15min (15
       minutes), 10min (10 minutes), 5min (5 minutes), and 1min (1 minute). For example, "M" indicates every
       month and "30min" indicates every 30 minutes.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-forecast/src/main/java/com/amazonaws/services/forecast/model/DescribeDatasetResult.java