public class KeyValueConfiguration extends FeatureConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
KeyValueConfiguration.Builder
KeyValueConfiguration is created using a Builder.
|
bucketName, JS_COMPRESSION_NO, JS_COMPRESSION_YES, sc| Modifier and Type | Method and Description |
|---|---|
static KeyValueConfiguration.Builder |
builder()
Creates a builder for the Key Value Configuration.
|
static KeyValueConfiguration.Builder |
builder(KeyValueConfiguration kvc)
Creates a builder to copy the key value configuration.
|
static KeyValueConfiguration.Builder |
builder(java.lang.String name)
Creates a builder for the Key Value Configuration.
|
@Nullable java.time.Duration |
getLimitMarkerTtl()
The limit marker ttl if set
|
long |
getMaxHistoryPerKey()
Gets the maximum number of history for any one key.
|
int |
getMaximumValueSize()
Gets the maximum size for an individual value in the bucket.
|
long |
getMaxValueSize()
Deprecated.
the server value is a 32-bit signed value. Use
getMaximumValueSize() instead. |
@Nullable Mirror |
getMirror()
The mirror definition for this configuration
|
@Nullable Republish |
getRepublish()
Get the republish configuration.
|
@Nullable java.util.List<Source> |
getSources()
The sources for this configuration
|
@NonNull JsonValue |
toJsonValue() |
java.lang.String |
toString() |
getBackingConfig, getBucketName, getDescription, getMaxBucketSize, getMetadata, getPlacement, getReplicas, getStorageType, getTtl, isCompressed, toJsonclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitserializepublic long getMaxHistoryPerKey()
@Deprecated public long getMaxValueSize()
getMaximumValueSize() instead.public int getMaximumValueSize()
public @Nullable Republish getRepublish()
public @Nullable Mirror getMirror()
public @Nullable java.util.List<Source> getSources()
public @Nullable java.time.Duration getLimitMarkerTtl()
public java.lang.String toString()
toString in class java.lang.Objectpublic @NonNull JsonValue toJsonValue()
toJsonValue in interface JsonSerializabletoJsonValue in class FeatureConfigurationpublic static KeyValueConfiguration.Builder builder()
public static KeyValueConfiguration.Builder builder(java.lang.String name)
name - the name of the key value bucketpublic static KeyValueConfiguration.Builder builder(KeyValueConfiguration kvc)
kvc - an existing KeyValueConfiguration