Builder<MongoDbProvider>
public static class MongoDbProvider.Builder<B extends MongoDbProvider.Builder<B>> extends AbstractFilterable.Builder<B> implements Builder<MongoDbProvider>
Constructor | Description |
---|---|
Builder() |
Modifier and Type | Method | Description |
---|---|---|
MongoDbProvider |
build() |
Builds the object after all configuration has been set.
|
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()
Builder
build
in interface Builder<B extends MongoDbProvider.Builder<B>>
public B setCapped(boolean isCapped)
public B setCollectionSize(int collectionSize)
Copyright © 1999-2018. 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.