public RetentionPeriod getRetentionPeriod() {
        return this.retentionPeriod;
    }
<p>
How long, in days, message data is kept for the data store. When <code>customerManagedS3</code> storage is
selected, this parameter is ignored.
</p>

@return How long, in days, message data is kept for the data store. When <code>customerManagedS3</code> storage
        is selected, this parameter is ignored.
aws-java-sdk-iotanalytics/src/main/java/com/amazonaws/services/iotanalytics/model/CreateDatastoreRequest.java