Class DocumentDBEventSourceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.lambda.model.DocumentDBEventSourceConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>
@Generated("software.amazon.awssdk:codegen") public final class DocumentDBEventSourceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>
Specific configuration settings for a DocumentDB event source.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDocumentDBEventSourceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentDBEventSourceConfig.Builderbuilder()StringcollectionName()The name of the collection to consume within the database.StringdatabaseName()The name of the database to consume within the DocumentDB cluster.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)FullDocumentfullDocument()Determines what DocumentDB sends to your event stream during document update operations.StringfullDocumentAsString()Determines what DocumentDB sends to your event stream during document update operations.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends DocumentDBEventSourceConfig.Builder>serializableBuilderClass()DocumentDBEventSourceConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
databaseName
public final String databaseName()
The name of the database to consume within the DocumentDB cluster.
- Returns:
- The name of the database to consume within the DocumentDB cluster.
-
collectionName
public final String collectionName()
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
- Returns:
- The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
-
fullDocument
public final 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.
If the service returns an enum value that is not available in the current SDK version,
fullDocumentwill returnFullDocument.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfullDocumentAsString().- Returns:
- 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.
- See Also:
FullDocument
-
fullDocumentAsString
public final String fullDocumentAsString()
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.
If the service returns an enum value that is not available in the current SDK version,
fullDocumentwill returnFullDocument.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromfullDocumentAsString().- Returns:
- 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.
- See Also:
FullDocument
-
toBuilder
public DocumentDBEventSourceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>
-
builder
public static DocumentDBEventSourceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends DocumentDBEventSourceConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-