With MongoOptions now deprecated, the associated MongoClientOptions.Builder.legacyDefaults should be as well.