public DBInstance withBackupRetentionPeriod(Integer backupRetentionPeriod) {
        setBackupRetentionPeriod(backupRetentionPeriod);
        return this;
    }
<p>
The number of days for which automatic DB snapshots are retained.
</p>

@param backupRetentionPeriod
       The number of days for which automatic DB snapshots are retained.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java