def by_retention_event_type_id(self,retention_event_type_id: str) -> RetentionEventTypeItemRequestBuilder:
        """
        Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity.
        param retention_event_type_id: The unique identifier of retentionEventType
        Returns: RetentionEventTypeItemRequestBuilder
        """
        if retention_event_type_id is None:
            raise TypeError("retention_event_type_id cannot be null.")
        from .item.retention_event_type_item_request_builder import RetentionEventTypeItemRequestBuilder

        url_tpl_params = get_path_parameters(self.path_parameters)
        url_tpl_params["retentionEventType%2Did"] = retention_event_type_id
        return RetentionEventTypeItemRequestBuilder(self.request_adapter, url_tpl_params)

        Provides operations to manage the retentionEventTypes property of the microsoft.graph.security.triggerTypesRoot entity.
        param retention_event_type_id: The unique identifier of retentionEventType
        Returns: RetentionEventTypeItemRequestBuilder
        
msgraph/generated/security/trigger_types/retention_event_types/retention_event_types_request_builder.py