Class CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder
java.lang.Object
software.amazon.awscdk.services.lambda.CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventSourceMapping.DocumentDBEventSourceConfigProperty>
- Enclosing interface:
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty
@Stability(Stable)
public static final class CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventSourceMapping.DocumentDBEventSourceConfigProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.collectionName(String collectionName) databaseName(String databaseName) fullDocument(String fullDocument)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
collectionName
@Stability(Stable) public CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder collectionName(String collectionName) - Parameters:
collectionName- The collection name to connect to.- Returns:
this
-
databaseName
@Stability(Stable) public CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder databaseName(String databaseName) - Parameters:
databaseName- The database name to connect to.- Returns:
this
-
fullDocument
@Stability(Stable) public CfnEventSourceMapping.DocumentDBEventSourceConfigProperty.Builder fullDocument(String fullDocument) - Parameters:
fullDocument- Include full document in change stream response. The default option will only send the changes made to documents to Lambda. If you want the complete document sent to Lambda, set this to UpdateLookup.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventSourceMapping.DocumentDBEventSourceConfigProperty>- Returns:
- a new instance of
CfnEventSourceMapping.DocumentDBEventSourceConfigProperty - Throws:
NullPointerException- if any required attribute was not provided
-