public static class MongoDbProvider.Builder<B extends MongoDbProvider.Builder<B>> extends org.apache.logging.log4j.core.filter.AbstractFilterable.Builder<B> implements org.apache.logging.log4j.core.util.Builder<MongoDbProvider>
| Constructor and Description |
|---|
MongoDbProvider.Builder() |
| Modifier and Type | Method and Description |
|---|---|
MongoDbProvider |
build() |
B |
setCapped(boolean isCapped) |
B |
setCollectionName(String collectionName) |
B |
setCollectionSize(int collectionSize) |
B |
setDatabaseName(String databaseName) |
B |
setFactoryClassName(String factoryClassName) |
B |
setFactoryMethodName(String factoryMethodName) |
B |
setPassword(String password) |
B |
setPort(String port) |
B |
setServer(String server) |
B |
setUserName(String userName) |
B |
setWriteConcernConstant(String writeConcernConstant) |
B |
setWriteConcernConstantClassName(String writeConcernConstantClassName) |
public MongoDbProvider.Builder()
public B setDatabaseName(String databaseName)
public B setCollectionName(String collectionName)
public B setUserName(String userName)
public B setPassword(String password)
public B setCollectionSize(int collectionSize)
public B setFactoryClassName(String factoryClassName)
public B setFactoryMethodName(String factoryMethodName)
public B setWriteConcernConstantClassName(String writeConcernConstantClassName)
public B setWriteConcernConstant(String writeConcernConstant)
public MongoDbProvider build()
build in interface org.apache.logging.log4j.core.util.Builder<MongoDbProvider>Copyright © 1999-2017 The Apache Software Foundation. All Rights Reserved.
Apache Logging, Apache Log4j, Log4j, Apache, the Apache feather logo, the Apache Logging project logo, and the Apache Log4j logo are trademarks of The Apache Software Foundation.