public void setDeletionProtection(Boolean deletionProtection) {
        this.deletionProtection = deletionProtection;
    }
<p>
Indicates whether the DB instance has deletion protection enabled. The database can't be deleted when deletion
protection is enabled. For more information, see <a
href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> Deleting a DB
Instance</a>.
</p>

@param deletionProtection
       Indicates whether the DB instance has deletion protection enabled. The database can't be deleted when
       deletion protection is enabled. For more information, see <a
       href="https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/USER_DeleteInstance.html"> Deleting a DB
       Instance</a>.
aws-java-sdk-rds/src/main/java/com/amazonaws/services/rds/model/DBInstance.java