Interface MongoClientSettingsBuilderCustomizer
- All Known Implementing Classes:
MongoPropertiesClientSettingsBuilderCustomizer
,StandardMongoClientSettingsBuilderCustomizer
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Callback interface that can be implemented by beans wishing to customize the
MongoClientSettings
through a MongoClientSettings.Builder
whilst retaining default auto-configuration.- Since:
- 2.0.0
- Author:
- Mark Paluch
-
Method Summary
Modifier and TypeMethodDescriptionvoid
customize
(com.mongodb.MongoClientSettings.Builder clientSettingsBuilder) Customize theMongoClientSettings.Builder
.
-
Method Details
-
customize
void customize(com.mongodb.MongoClientSettings.Builder clientSettingsBuilder) Customize theMongoClientSettings.Builder
.- Parameters:
clientSettingsBuilder
- the builder to customize
-