def by_attribute_set_id(self,attribute_set_id: str) -> AttributeSetItemRequestBuilder:
        """
        Provides operations to manage the attributeSets property of the microsoft.graph.directory entity.
        param attribute_set_id: The unique identifier of attributeSet
        Returns: AttributeSetItemRequestBuilder
        """
        if attribute_set_id is None:
            raise TypeError("attribute_set_id cannot be null.")
        from .item.attribute_set_item_request_builder import AttributeSetItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["attributeSet%2Did"] = attribute_set_id
        return AttributeSetItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the attributeSets property of the microsoft.graph.directory entity.
        param attribute_set_id: The unique identifier of attributeSet
        Returns: AttributeSetItemRequestBuilder
        
msgraph/generated/directory/attribute_sets/attribute_sets_request_builder.py