public static class MongoDbProvider.Builder<B extends MongoDbProvider.Builder<B>> extends AbstractFilterable.Builder<B> implements 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) |
asBuilder, getFilter, withFilter
public MongoDbProvider build()
build
in interface Builder<MongoDbProvider>
public B setCapped(boolean isCapped)
public B setCollectionSize(int collectionSize)
Copyright © 1999-2018 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.