public void setSnapshotRetentionPeriod(Integer snapshotRetentionPeriod) {
        this.snapshotRetentionPeriod = snapshotRetentionPeriod;
    }
<p>
The period of time, in days, of how long the snapshot is retained.
</p>

@param snapshotRetentionPeriod
       The period of time, in days, of how long the snapshot is retained.
aws-java-sdk-redshiftserverless/src/main/java/com/amazonaws/services/redshiftserverless/model/Snapshot.java