In the ApiVersionConfigurer all the builder style methods return this except the method setSupportedVersionPredicate() which returns void. To be consistent with all other methods it should return ApiVersionConfigurer so you're not forced to put setSupportedVersionPredicate() at the end of the builder chain.