@Generated(value="org.jsonschema2pojo") public class MongoConfiguration extends Object implements Serializable
Constructor and Description |
---|
MongoConfiguration() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
String |
getCollection()
Collection
|
String |
getDb()
DB
|
String |
getHost()
Hbase host
|
String |
getPassword()
Password
|
Long |
getPort()
ZK Port
|
String |
getUser()
User
|
int |
hashCode() |
void |
setCollection(String collection)
Collection
|
void |
setDb(String db)
DB
|
void |
setHost(String host)
Hbase host
|
void |
setPassword(String password)
Password
|
void |
setPort(Long port)
ZK Port
|
void |
setUser(String user)
User
|
String |
toString() |
MongoConfiguration |
withCollection(String collection) |
MongoConfiguration |
withDb(String db) |
MongoConfiguration |
withHost(String host) |
MongoConfiguration |
withPassword(String password) |
MongoConfiguration |
withPort(Long port) |
MongoConfiguration |
withUser(String user) |
@BeanProperty(value="host") public String getHost()
@BeanProperty(value="host") public void setHost(String host)
host
- The hostpublic MongoConfiguration withHost(String host)
@BeanProperty(value="port") public Long getPort()
@BeanProperty(value="port") public void setPort(Long port)
port
- The portpublic MongoConfiguration withPort(Long port)
@BeanProperty(value="user") public String getUser()
@BeanProperty(value="user") public void setUser(String user)
user
- The userpublic MongoConfiguration withUser(String user)
@BeanProperty(value="password") public String getPassword()
@BeanProperty(value="password") public void setPassword(String password)
password
- The passwordpublic MongoConfiguration withPassword(String password)
@BeanProperty(value="db") public String getDb()
@BeanProperty(value="db") public void setDb(String db)
db
- The dbpublic MongoConfiguration withDb(String db)
@BeanProperty(value="collection") public String getCollection()
@BeanProperty(value="collection") public void setCollection(String collection)
collection
- The collectionpublic MongoConfiguration withCollection(String collection)
Copyright © 2018 The Apache Software Foundation. All rights reserved.