public RequestPhoneNumberRequest withDeletionProtectionEnabled(Boolean deletionProtectionEnabled) {
        setDeletionProtectionEnabled(deletionProtectionEnabled);
        return this;
    }
<p>
By default this is set to false. When set to true the phone number can't be deleted.
</p>

@param deletionProtectionEnabled
       By default this is set to false. When set to true the phone number can't be deleted.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-pinpointsmsvoicev2/src/main/java/com/amazonaws/services/pinpointsmsvoicev2/model/RequestPhoneNumberRequest.java