def by_malware_state_for_windows_device_id(self,malware_state_for_windows_device_id: str) -> MalwareStateForWindowsDeviceItemRequestBuilder:
        """
        Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity.
        param malware_state_for_windows_device_id: The unique identifier of malwareStateForWindowsDevice
        Returns: MalwareStateForWindowsDeviceItemRequestBuilder
        """
        if malware_state_for_windows_device_id is None:
            raise TypeError("malware_state_for_windows_device_id cannot be null.")
        from .item.malware_state_for_windows_device_item_request_builder import MalwareStateForWindowsDeviceItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["malwareStateForWindowsDevice%2Did"] = malware_state_for_windows_device_id
        return MalwareStateForWindowsDeviceItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the deviceMalwareStates property of the microsoft.graph.windowsMalwareInformation entity.
        param malware_state_for_windows_device_id: The unique identifier of malwareStateForWindowsDevice
        Returns: MalwareStateForWindowsDeviceItemRequestBuilder
        
msgraph/generated/device_management/windows_malware_information/item/device_malware_states/device_malware_states_request_builder.py