Class MongoPropertiesClientSettingsBuilderCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.mongo.MongoPropertiesClientSettingsBuilderCustomizer
- All Implemented Interfaces:
MongoClientSettingsBuilderCustomizer
,Ordered
public class MongoPropertiesClientSettingsBuilderCustomizer
extends Object
implements MongoClientSettingsBuilderCustomizer, Ordered
A
MongoClientSettingsBuilderCustomizer
that applies properties from a
MongoProperties
to a MongoClientSettings
.- Since:
- 2.4.0
- Author:
- Scott Frederick
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
MongoPropertiesClientSettingsBuilderCustomizer
-
-
Method Details
-
customize
public void customize(com.mongodb.MongoClientSettings.Builder settingsBuilder) Description copied from interface:MongoClientSettingsBuilderCustomizer
Customize theMongoClientSettings.Builder
.- Specified by:
customize
in interfaceMongoClientSettingsBuilderCustomizer
- Parameters:
settingsBuilder
- the builder to customize
-
getOrder
public int getOrder() -
setOrder
public void setOrder(int order) Set the order value of this object.- Parameters:
order
- the new order value- See Also:
-