public AwsRdsDbInstanceDetails withDeletionProtection(Boolean deletionProtection) {
        setDeletionProtection(deletionProtection);
        return this;
    }
<p>
Indicates whether the DB instance has deletion protection enabled.
</p>
<p>
When deletion protection is enabled, the database cannot be deleted.
</p>

@param deletionProtection
       Indicates whether the DB instance has deletion protection enabled.</p>
       <p>
       When deletion protection is enabled, the database cannot be deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsRdsDbInstanceDetails.java