public class MongoConnectionParameters extends Object
Constructor and Description |
---|
MongoConnectionParameters(List<com.mongodb.ServerAddress> addresses,
com.mongodb.MongoCredential credentials,
com.mongodb.MongoClientOptions mongoOptions) |
Modifier and Type | Method and Description |
---|---|
List<com.mongodb.ServerAddress> |
getAddresses() |
com.mongodb.MongoCredential |
getCredentials() |
com.mongodb.MongoClientOptions |
getMongoOptions() |
public MongoConnectionParameters(List<com.mongodb.ServerAddress> addresses, com.mongodb.MongoCredential credentials, com.mongodb.MongoClientOptions mongoOptions)
public List<com.mongodb.ServerAddress> getAddresses()
public com.mongodb.MongoCredential getCredentials()
public com.mongodb.MongoClientOptions getMongoOptions()
Copyright © 2010–2021. All rights reserved.