org.springframework.boot.autoconfigure.mongo

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.


    @FunctionalInterface
    public interface MongoClientSettingsBuilderCustomizer
    Callback interface that can be implemented by beans wishing to customize the MongoClientSettings via a MongoClientSettings.Builder whilst retaining default auto-configuration.
    Since:
    2.0.0
    Author:
    Mark Paluch
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void customize(com.mongodb.async.client.MongoClientSettings.Builder clientSettingsBuilder)
      Customize the MongoClientSettings.Builder.
    • Method Detail

      • customize

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