Class CreateCollectionSettings
java.lang.Object
com.couchbase.client.java.manager.collection.CreateCollectionSettings
Allows to customize the behavior of the create collection operation.
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static CreateCollectionSettings
Creates a new instance with default values.The max expiry for documents in this collection, or a non-positive duration indicating special expiry behavior.toCore()
-
Field Details
-
maxExpiry
-
history
-
-
Constructor Details
-
CreateCollectionSettings
protected CreateCollectionSettings()
-
-
Method Details
-
createCollectionSettings
Creates a new instance with default values.- Returns:
- the instantiated default options.
-
maxExpiry
The max expiry for documents in this collection, or a non-positive duration indicating special expiry behavior.- See Also:
-
history
-
build
-
toCore
-