def by_print_task_id(self,print_task_id: str) -> PrintTaskItemRequestBuilder:
        """
        Provides operations to manage the tasks property of the microsoft.graph.printTaskDefinition entity.
        param print_task_id: The unique identifier of printTask
        Returns: PrintTaskItemRequestBuilder
        """
        if print_task_id is None:
            raise TypeError("print_task_id cannot be null.")
        from .item.print_task_item_request_builder import PrintTaskItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["printTask%2Did"] = print_task_id
        return PrintTaskItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the tasks property of the microsoft.graph.printTaskDefinition entity.
        param print_task_id: The unique identifier of printTask
        Returns: PrintTaskItemRequestBuilder
        
msgraph/generated/print/task_definitions/item/tasks/tasks_request_builder.py