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
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 Type
    Method
    Description
    void
    customize(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 built
      clientSettings - The settings builder