public class CreateCollectionSettings extends Object
Modifier and Type | Class and Description |
---|---|
class |
CreateCollectionSettings.Built |
Modifier | Constructor and Description |
---|---|
protected |
CreateCollectionSettings() |
Modifier and Type | Method and Description |
---|---|
CreateCollectionSettings.Built |
build() |
static CreateCollectionSettings |
createCollectionSettings()
Creates a new instance with default values.
|
CreateCollectionSettings |
history(Boolean history) |
CreateCollectionSettings |
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() |
public static CreateCollectionSettings createCollectionSettings()
public CreateCollectionSettings maxExpiry(Duration maxExpiry)
public CreateCollectionSettings history(Boolean history)
@Stability.Internal public CreateCollectionSettings.Built build()
@Stability.Internal public com.couchbase.client.core.manager.collection.CoreCreateOrUpdateCollectionSettings toCore()
Copyright © 2024 Couchbase, Inc.. All rights reserved.