Packages

c

com.couchbase.client.scala.manager.collection

UpdateCollectionSettings

case class UpdateCollectionSettings(maxExpiry: Option[Duration] = None, history: Option[Boolean] = None) extends Product with Serializable

Used when updating a new collection.

maxExpiry

is the time for the TTL for new documents in the collection. It defaults to no expiry.

history

is whether history retention override is enabled on this collection. If not set it will default to the bucket-level setting.

Annotations
@Volatile()
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. UpdateCollectionSettings
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new UpdateCollectionSettings(maxExpiry: Option[Duration] = None, history: Option[Boolean] = None)

    maxExpiry

    is the time for the TTL for new documents in the collection. It defaults to no expiry.

    history

    is whether history retention override is enabled on this collection. If not set it will default to the bucket-level setting.

Value Members

  1. def history(history: Boolean): UpdateCollectionSettings

    Sets whether history retention override is enabled on this collection.

  2. val history: Option[Boolean]
  3. def maxExpiry(maxExpiry: Duration): UpdateCollectionSettings

    Sets the TTL for new documents in the collection.

  4. val maxExpiry: Option[Duration]
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def productIterator: Iterator[Any]
    Definition Classes
    Product