public class UpdateCollectionSettings extends Object
Modifier and Type | Class and Description |
---|---|
class |
UpdateCollectionSettings.Built |
Modifier | Constructor and Description |
---|---|
protected |
UpdateCollectionSettings() |
Modifier and Type | Method and Description |
---|---|
UpdateCollectionSettings.Built |
build() |
UpdateCollectionSettings |
history(Boolean history) |
UpdateCollectionSettings |
maxExpiry(Duration maxExpiry)
The max expiry for documents in this collection,
or a non-positive duration indicating special expiry behavior.
|
com.couchbase.client.core.manager.collection.CoreCreateOrUpdateCollectionSettings |
toCore() |
static UpdateCollectionSettings |
updateCollectionSettings()
Creates a new instance with default values.
|
public static UpdateCollectionSettings updateCollectionSettings()
public UpdateCollectionSettings maxExpiry(Duration maxExpiry)
public UpdateCollectionSettings history(Boolean history)
@Stability.Internal public UpdateCollectionSettings.Built build()
@Stability.Internal public com.couchbase.client.core.manager.collection.CoreCreateOrUpdateCollectionSettings toCore()
Copyright © 2024 Couchbase, Inc.. All rights reserved.