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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DocumentDBEventSourceConfig.Builder
collectionName(String collectionName)
The name of the collection to consume within the database.DocumentDBEventSourceConfig.Builder
databaseName(String databaseName)
The name of the database to consume within the DocumentDB cluster.DocumentDBEventSourceConfig.Builder
fullDocument(String fullDocument)
Determines what DocumentDB sends to your event stream during document update operations.DocumentDBEventSourceConfig.Builder
fullDocument(FullDocument fullDocument)
Determines what DocumentDB sends to your event stream during document update operations.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
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
-
-