public class DefaultBucketSettings extends java.lang.Object implements BucketSettings
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultBucketSettings.Builder |
| Modifier and Type | Method and Description |
|---|---|
static DefaultBucketSettings.Builder |
builder() |
boolean |
enableFlush()
If flush is enabled.
|
boolean |
indexReplicas()
If replicas are indexed.
|
java.lang.String |
name()
The name of the bucket.
|
java.lang.String |
password()
The password of the bucket.
|
int |
port()
The optional proxy port.
|
int |
quota()
The bucket quota.
|
int |
replicas()
Number of replicas.
|
java.lang.String |
toString() |
BucketType |
type()
The type of the bucket.
|
public static DefaultBucketSettings.Builder builder()
public java.lang.String name()
BucketSettingsThe name of the bucket.
name in interface BucketSettingspublic BucketType type()
BucketSettingsThe type of the bucket.
type in interface BucketSettingspublic int quota()
BucketSettingsThe bucket quota.
quota in interface BucketSettingspublic int port()
BucketSettingsThe optional proxy port.
port in interface BucketSettingspublic java.lang.String password()
BucketSettingsThe password of the bucket.
password in interface BucketSettingspublic int replicas()
BucketSettingsNumber of replicas.
replicas in interface BucketSettingspublic boolean indexReplicas()
BucketSettingsIf replicas are indexed.
indexReplicas in interface BucketSettingspublic boolean enableFlush()
BucketSettingsIf flush is enabled.
enableFlush in interface BucketSettingspublic java.lang.String toString()
toString in class java.lang.Object