def by_item_activity_stat_id(self,item_activity_stat_id: str) -> ItemActivityStatItemRequestBuilder:
        """
        Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity.
        param item_activity_stat_id: The unique identifier of itemActivityStat
        Returns: ItemActivityStatItemRequestBuilder
        """
        if item_activity_stat_id is None:
            raise TypeError("item_activity_stat_id cannot be null.")
        from .item.item_activity_stat_item_request_builder import ItemActivityStatItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["itemActivityStat%2Did"] = item_activity_stat_id
        return ItemActivityStatItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the itemActivityStats property of the microsoft.graph.itemAnalytics entity.
        param item_activity_stat_id: The unique identifier of itemActivityStat
        Returns: ItemActivityStatItemRequestBuilder
        
msgraph/generated/drives/item/items/item/analytics/item_activity_stats/item_activity_stats_request_builder.py