Class MongoPropertiesClientSettingsBuilderCustomizer

java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoPropertiesClientSettingsBuilderCustomizer
All Implemented Interfaces:
MongoClientSettingsBuilderCustomizer, Ordered

@Deprecated(since="3.1.0", forRemoval=true) public class MongoPropertiesClientSettingsBuilderCustomizer extends Object implements MongoClientSettingsBuilderCustomizer, Ordered
Deprecated, for removal: This API element is subject to removal in a future version.
A MongoClientSettingsBuilderCustomizer that applies properties from a MongoProperties to a MongoClientSettings.
Since:
2.4.0
Author:
Scott Frederick, Safeer Ansari
  • Field Summary

    Fields inherited from interface org.springframework.core.Ordered

    HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    customize(com.mongodb.MongoClientSettings.Builder settingsBuilder)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Customize the MongoClientSettings.Builder.
    int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    void
    setOrder(int order)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Set the order value of this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • MongoPropertiesClientSettingsBuilderCustomizer

      public MongoPropertiesClientSettingsBuilderCustomizer(MongoProperties properties)
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • customize

      public void customize(com.mongodb.MongoClientSettings.Builder settingsBuilder)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: MongoClientSettingsBuilderCustomizer
      Customize the MongoClientSettings.Builder.
      Specified by:
      customize in interface MongoClientSettingsBuilderCustomizer
      Parameters:
      settingsBuilder - the builder to customize
    • getOrder

      public int getOrder()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Specified by:
      getOrder in interface Ordered
    • setOrder

      public void setOrder(int order)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Set the order value of this object.
      Parameters:
      order - the new order value
      See Also: