def by_retention_event_id(self,retention_event_id: str) -> RetentionEventItemRequestBuilder:
        """
        Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity.
        param retention_event_id: The unique identifier of retentionEvent
        Returns: RetentionEventItemRequestBuilder
        """
        if retention_event_id is None:
            raise TypeError("retention_event_id cannot be null.")
        from .item.retention_event_item_request_builder import RetentionEventItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["retentionEvent%2Did"] = retention_event_id
        return RetentionEventItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the retentionEvents property of the microsoft.graph.security.triggersRoot entity.
        param retention_event_id: The unique identifier of retentionEvent
        Returns: RetentionEventItemRequestBuilder
        
msgraph/generated/security/triggers/retention_events/retention_events_request_builder.py