Interface DocumentDBEventSourceConfig.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>, SdkBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>, SdkPojo
Enclosing class:
DocumentDBEventSourceConfig

public static interface DocumentDBEventSourceConfig.Builder extends SdkPojo, CopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>
  • Method Details

    • databaseName

      DocumentDBEventSourceConfig.Builder databaseName(String databaseName)

      The name of the database to consume within the DocumentDB cluster.

      Parameters:
      databaseName - The name of the database to consume within the DocumentDB cluster.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • collectionName

      DocumentDBEventSourceConfig.Builder collectionName(String collectionName)

      The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.

      Parameters:
      collectionName - The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • fullDocument

      DocumentDBEventSourceConfig.Builder fullDocument(String fullDocument)

      Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.

      Parameters:
      fullDocument - Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • fullDocument

      Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.

      Parameters:
      fullDocument - Determines what DocumentDB sends to your event stream during document update operations. If set to UpdateLookup, DocumentDB sends a delta describing the changes, along with a copy of the entire document. Otherwise, DocumentDB sends only a partial document that contains the changes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: