@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
DocumentDBEventSourceConfig.Builder |
Modifier and Type | Method and 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() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends DocumentDBEventSourceConfig.Builder> |
serializableBuilderClass() |
DocumentDBEventSourceConfig.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public final String databaseName()
The name of the database to consume within the DocumentDB cluster.
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.
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
return FullDocument.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
fullDocumentAsString()
.
FullDocument
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
return FullDocument.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
fullDocumentAsString()
.
FullDocument
public DocumentDBEventSourceConfig.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<DocumentDBEventSourceConfig.Builder,DocumentDBEventSourceConfig>
public static DocumentDBEventSourceConfig.Builder builder()
public static Class<? extends DocumentDBEventSourceConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public final String toString()
Copyright © 2023. All rights reserved.