Interface DocumentDBEventSourceConfig.Builder

    • Method Detail

      • 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, FullDocument
      • fullDocument

        DocumentDBEventSourceConfig.Builder fullDocument​(FullDocument 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, FullDocument