def by_role_definition_id(self,role_definition_id: str) -> RoleDefinitionItemRequestBuilder:
        """
        Provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity.
        param role_definition_id: The unique identifier of roleDefinition
        Returns: RoleDefinitionItemRequestBuilder
        """
        if role_definition_id is None:
            raise TypeError("role_definition_id cannot be null.")
        from .item.role_definition_item_request_builder import RoleDefinitionItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["roleDefinition%2Did"] = role_definition_id
        return RoleDefinitionItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the roleDefinitions property of the microsoft.graph.deviceManagement entity.
        param role_definition_id: The unique identifier of roleDefinition
        Returns: RoleDefinitionItemRequestBuilder
        
msgraph/generated/device_management/role_definitions/role_definitions_request_builder.py