def by_task_definition_id(self,task_definition_id: str) -> TaskDefinitionItemRequestBuilder:
        """
        Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity.
        param task_definition_id: The unique identifier of taskDefinition
        Returns: TaskDefinitionItemRequestBuilder
        """
        if task_definition_id is None:
            raise TypeError("task_definition_id cannot be null.")
        from .item.task_definition_item_request_builder import TaskDefinitionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["taskDefinition%2Did"] = task_definition_id
        return TaskDefinitionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the taskDefinitions property of the microsoft.graph.identityGovernance.lifecycleWorkflowsContainer entity.
        param task_definition_id: The unique identifier of taskDefinition
        Returns: TaskDefinitionItemRequestBuilder
        
msgraph/generated/identity_governance/lifecycle_workflows/task_definitions/task_definitions_request_builder.py