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 interface
DocumentDBEventSourceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DocumentDBEventSourceConfig.Builder
builder()
String
collectionName()
The name of the collection to consume within the database.String
databaseName()
The name of the database to consume within the DocumentDB cluster.boolean
equals(Object obj)
boolean
equalsBySdkFields(Object obj)
FullDocument
fullDocument()
Determines what DocumentDB sends to your event stream during document update operations.String
fullDocumentAsString()
Determines what DocumentDB sends to your event stream during document update operations.<T> Optional<T>
getValueForField(String fieldName, Class<T> clazz)
int
hashCode()
Map<String,SdkField<?>>
sdkFieldNameToField()
List<SdkField<?>>
sdkFields()
static Class<? extends DocumentDBEventSourceConfig.Builder>
serializableBuilderClass()
DocumentDBEventSourceConfig.Builder
toBuilder()
String
toString()
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,
fullDocument
will 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,
fullDocument
will 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:
toBuilder
in 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:
equalsBySdkFields
in 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:
sdkFieldNameToField
in interfaceSdkPojo
-
-