public abstract class AbstractBucketConfig extends java.lang.Object implements BucketConfig
Modifier | Constructor and Description |
---|---|
protected |
AbstractBucketConfig(java.lang.String name,
BucketNodeLocator locator,
java.lang.String uri,
java.lang.String streamingUri,
java.util.List<NodeInfo> nodeInfos,
java.util.List<PortInfo> portInfos) |
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 password)
Setter to inject the password manually into the config.
|
java.lang.String |
streamingUri()
The HTTP Streaming URI for this bucket.
|
java.lang.String |
uri()
The HTTP Uri for this bucket configuration.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
rev, tainted, type
protected AbstractBucketConfig(java.lang.String name, BucketNodeLocator locator, java.lang.String uri, java.lang.String streamingUri, java.util.List<NodeInfo> nodeInfos, java.util.List<PortInfo> portInfos)
public java.lang.String name()
BucketConfig
The name of the bucket.
name
in interface BucketConfig
public BucketNodeLocator locator()
BucketConfig
The type of node locator in use for this bucket.
locator
in interface BucketConfig
public java.lang.String uri()
BucketConfig
The HTTP Uri for this bucket configuration.
uri
in interface BucketConfig
public java.lang.String streamingUri()
BucketConfig
The HTTP Streaming URI for this bucket.
streamingUri
in interface BucketConfig
public java.util.List<NodeInfo> nodes()
BucketConfig
The list of nodes associated with this bucket.
nodes
in interface BucketConfig
public java.lang.String password()
BucketConfig
The password of the bucket.
password
in interface BucketConfig
public BucketConfig password(java.lang.String password)
BucketConfig
Setter to inject the password manually into the config.
password
in interface BucketConfig