public VersioningConfiguration getVersioningConfiguration() {
        return this.versioningConfiguration;
    }
<p>
Optional. How many versions of dataset contents are kept. If not specified or set to null, only the latest
version plus the latest succeeded version (if they are different) are kept for the time period specified by the
<code>retentionPeriod</code> parameter. For more information, see <a href=
"https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions"
>Keeping Multiple Versions of IoT Analytics datasets</a> in the <i>IoT Analytics User Guide</i>.
</p>

@return Optional. How many versions of dataset contents are kept. If not specified or set to null, only the
        latest version plus the latest succeeded version (if they are different) are kept for the time period
        specified by the <code>retentionPeriod</code> parameter. For more information, see <a href=
        "https://docs.aws.amazon.com/iotanalytics/latest/userguide/getting-started.html#aws-iot-analytics-dataset-versions"
        >Keeping Multiple Versions of IoT Analytics datasets</a> in the <i>IoT Analytics User Guide</i>.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/UpdateDatasetRequest.java