def by_printer_share_id(self,printer_share_id: str) -> PrinterShareItemRequestBuilder:
        """
        Provides operations to manage the shares property of the microsoft.graph.printer entity.
        param printer_share_id: The unique identifier of printerShare
        Returns: PrinterShareItemRequestBuilder
        """
        if printer_share_id is None:
            raise TypeError("printer_share_id cannot be null.")
        from .item.printer_share_item_request_builder import PrinterShareItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["printerShare%2Did"] = printer_share_id
        return PrinterShareItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the shares property of the microsoft.graph.printer entity.
        param printer_share_id: The unique identifier of printerShare
        Returns: PrinterShareItemRequestBuilder
        
msgraph/generated/print/printers/item/shares/shares_request_builder.py