def by_retention_label_id(self,retention_label_id: str) -> RetentionLabelItemRequestBuilder:
        """
        Provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity.
        param retention_label_id: The unique identifier of retentionLabel
        Returns: RetentionLabelItemRequestBuilder
        """
        if retention_label_id is None:
            raise TypeError("retention_label_id cannot be null.")
        from .item.retention_label_item_request_builder import RetentionLabelItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["retentionLabel%2Did"] = retention_label_id
        return RetentionLabelItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the retentionLabels property of the microsoft.graph.security.labelsRoot entity.
        param retention_label_id: The unique identifier of retentionLabel
        Returns: RetentionLabelItemRequestBuilder
        
msgraph/generated/security/labels/retention_labels/retention_labels_request_builder.py