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.

@FunctionalInterface public interface MongoClientSettingsBuilderCustomizer
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 Type
    Method
    Description
    void
    customize(com.mongodb.MongoClientSettings.Builder clientSettingsBuilder)
    Customize the MongoClientSettings.Builder.
  • Method Details

    • customize

      void customize(com.mongodb.MongoClientSettings.Builder clientSettingsBuilder)
      Customize the MongoClientSettings.Builder.
      Parameters:
      clientSettingsBuilder - the builder to customize