public interface BucketConfig
Represents a Couchbase Bucket Configuration.
Modifier and Type | Method and Description |
---|---|
BucketNodeLocator |
locator()
The type of node locator in use for this bucket.
|
java.lang.String |
name()
The name of the bucket.
|
java.util.List<NodeInfo> |
nodes()
The list of nodes associated with this bucket.
|
java.lang.String |
password()
The password of the bucket.
|
BucketConfig |
password(java.lang.String pasword)
Setter to inject the password manually into the config.
|
long |
rev()
Revision number (optional) for that configuration.
|
java.lang.String |
streamingUri()
The HTTP Streaming URI for this bucket.
|
boolean |
tainted()
If a config is marked as tainted.
|
BucketType |
type()
The bucket type.
|
java.lang.String |
uri()
The HTTP Uri for this bucket configuration.
|
java.lang.String name()
The name of the bucket.
java.lang.String password()
The password of the bucket.
BucketConfig password(java.lang.String pasword)
Setter to inject the password manually into the config.
pasword
- BucketNodeLocator locator()
The type of node locator in use for this bucket.
java.lang.String uri()
The HTTP Uri for this bucket configuration.
java.lang.String streamingUri()
The HTTP Streaming URI for this bucket.
java.util.List<NodeInfo> nodes()
The list of nodes associated with this bucket.
boolean tainted()
If a config is marked as tainted.
long rev()
Revision number (optional) for that configuration.
BucketType type()
The bucket type.