public void setRetentionProperties(RetentionProperties retentionProperties) {
        this.retentionProperties = retentionProperties;
    }
<p>
The duration for which your time-series data must be stored in the memory store and the magnetic store.
</p>

@param retentionProperties
       The duration for which your time-series data must be stored in the memory store and the magnetic store.
aws-java-sdk-timestreamwrite/src/main/java/com/amazonaws/services/timestreamwrite/model/CreateTableRequest.java