Class MongoDbShardConf
- java.lang.Object
-
- fr.gouv.vitam.common.server.application.configuration.MongoDbShardConf
-
public class MongoDbShardConf extends java.lang.Object
MongoDbNode class defining a mongo db node
-
-
Constructor Summary
Constructors Constructor Description MongoDbShardConf()
MongoDbShardConf(java.lang.String dbUserName, java.lang.String dbPassword, java.util.List<MongoDbShard> mongoDbShards)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDbPassword()
java.lang.String
getDbUserName()
java.util.List<MongoDbShard>
getMongoDbShards()
void
setDbPassword(java.lang.String dbPassword)
void
setDbUserName(java.lang.String dbUserName)
void
setMongoDbShards(java.util.List<MongoDbShard> mongoDbShards)
-
-
-
Constructor Detail
-
MongoDbShardConf
public MongoDbShardConf()
-
MongoDbShardConf
public MongoDbShardConf(java.lang.String dbUserName, java.lang.String dbPassword, java.util.List<MongoDbShard> mongoDbShards)
-
-
Method Detail
-
getDbUserName
public java.lang.String getDbUserName()
-
setDbUserName
public void setDbUserName(java.lang.String dbUserName)
-
getDbPassword
public java.lang.String getDbPassword()
-
setDbPassword
public void setDbPassword(java.lang.String dbPassword)
-
getMongoDbShards
public java.util.List<MongoDbShard> getMongoDbShards()
-
setMongoDbShards
public void setMongoDbShards(java.util.List<MongoDbShard> mongoDbShards)
-
-