def by_default_managed_app_protection_id(self,default_managed_app_protection_id: str) -> DefaultManagedAppProtectionItemRequestBuilder:
        """
        Provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity.
        param default_managed_app_protection_id: The unique identifier of defaultManagedAppProtection
        Returns: DefaultManagedAppProtectionItemRequestBuilder
        """
        if default_managed_app_protection_id is None:
            raise TypeError("default_managed_app_protection_id cannot be null.")
        from .item.default_managed_app_protection_item_request_builder import DefaultManagedAppProtectionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["defaultManagedAppProtection%2Did"] = default_managed_app_protection_id
        return DefaultManagedAppProtectionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the defaultManagedAppProtections property of the microsoft.graph.deviceAppManagement entity.
        param default_managed_app_protection_id: The unique identifier of defaultManagedAppProtection
        Returns: DefaultManagedAppProtectionItemRequestBuilder
        
msgraph/generated/device_app_management/default_managed_app_protections/default_managed_app_protections_request_builder.py