def by_device_install_state_id(self,device_install_state_id: str) -> DeviceInstallStateItemRequestBuilder:
        """
        Provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity.
        param device_install_state_id: The unique identifier of deviceInstallState
        Returns: DeviceInstallStateItemRequestBuilder
        """
        if device_install_state_id is None:
            raise TypeError("device_install_state_id cannot be null.")
        from .item.device_install_state_item_request_builder import DeviceInstallStateItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["deviceInstallState%2Did"] = device_install_state_id
        return DeviceInstallStateItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the deviceStates property of the microsoft.graph.managedEBook entity.
        param device_install_state_id: The unique identifier of deviceInstallState
        Returns: DeviceInstallStateItemRequestBuilder
        
msgraph/generated/device_app_management/managed_e_books/item/device_states/device_states_request_builder.py