Class StandardMongoClientSettingsBuilderCustomizer
java.lang.Object
org.springframework.boot.autoconfigure.mongo.StandardMongoClientSettingsBuilderCustomizer
- All Implemented Interfaces:
MongoClientSettingsBuilderCustomizer
,Ordered
public class StandardMongoClientSettingsBuilderCustomizer
extends Object
implements MongoClientSettingsBuilderCustomizer, Ordered
A
MongoClientSettingsBuilderCustomizer
that applies standard settings to a
MongoClientSettings
.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionStandardMongoClientSettingsBuilderCustomizer
(com.mongodb.ConnectionString connectionString, org.bson.UuidRepresentation uuidRepresentation, MongoProperties.Ssl ssl, SslBundles sslBundles) -
Method Summary
-
Constructor Details
-
StandardMongoClientSettingsBuilderCustomizer
public StandardMongoClientSettingsBuilderCustomizer(com.mongodb.ConnectionString connectionString, org.bson.UuidRepresentation uuidRepresentation, MongoProperties.Ssl ssl, SslBundles sslBundles)
-
-
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:
-