public ModifyGlobalClusterRequest withDeletionProtection(Boolean deletionProtection) {
        setDeletionProtection(deletionProtection);
        return this;
    }
<p>
Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when
deletion protection is enabled.
</p>

@param deletionProtection
       Indicates if the global cluster has deletion protection enabled. The global cluster can't be deleted when
       deletion protection is enabled.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-docdb/src/main/java/com/amazonaws/services/docdb/model/ModifyGlobalClusterRequest.java