Interface MongoClientSettingsBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Allows arbitrary customization of the
MongoClientSettings.Builder
after Micronaut has applied the configuration-backed settings and before
the final MongoClientSettings is built.- Since:
- 6.0.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(AbstractMongoConfiguration configuration, com.mongodb.MongoClientSettings.Builder clientSettings) Customize the builder for the given configuration.
-
Method Details
-
customize
void customize(AbstractMongoConfiguration configuration, com.mongodb.MongoClientSettings.Builder clientSettings) Customize the builder for the given configuration.- Parameters:
configuration- The configuration being builtclientSettings- The settings builder
-