`setPrimary(…)` is absent from `BeanDefinitionBuilder` and currently can only be set on `BeanDefinition` directly.