public Integer getRetentionPeriod() {
        return this.retentionPeriod;
    }
<p>
How long to retain the created snapshot.
</p>

@return How long to retain the created snapshot.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/CreateSnapshotRequest.java