def graph_mailbox_protection_unit(self) -> GraphMailboxProtectionUnitRequestBuilder:
        """
        Casts the previous resource to mailboxProtectionUnit.
        """
        from .graph_mailbox_protection_unit.graph_mailbox_protection_unit_request_builder import GraphMailboxProtectionUnitRequestBuilder

        return GraphMailboxProtectionUnitRequestBuilder(self.request_adapter, self.path_parameters)

        Casts the previous resource to mailboxProtectionUnit.
        
msgraph/generated/solutions/backup_restore/protection_units/item/protection_unit_base_item_request_builder.py