@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DocumentDBEventSourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Specific configuration settings for a DocumentDB event source.
Constructor and Description |
---|
DocumentDBEventSourceConfig() |
Modifier and Type | Method and Description |
---|---|
DocumentDBEventSourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getCollectionName()
The name of the collection to consume within the database.
|
String |
getDatabaseName()
The name of the database to consume within the DocumentDB cluster.
|
String |
getFullDocument()
Determines what DocumentDB sends to your event stream during document update operations.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCollectionName(String collectionName)
The name of the collection to consume within the database.
|
void |
setDatabaseName(String databaseName)
The name of the database to consume within the DocumentDB cluster.
|
void |
setFullDocument(String fullDocument)
Determines what DocumentDB sends to your event stream during document update operations.
|
String |
toString()
Returns a string representation of this object.
|
DocumentDBEventSourceConfig |
withCollectionName(String collectionName)
The name of the collection to consume within the database.
|
DocumentDBEventSourceConfig |
withDatabaseName(String databaseName)
The name of the database to consume within the DocumentDB cluster.
|
DocumentDBEventSourceConfig |
withFullDocument(FullDocument fullDocument)
Determines what DocumentDB sends to your event stream during document update operations.
|
DocumentDBEventSourceConfig |
withFullDocument(String fullDocument)
Determines what DocumentDB sends to your event stream during document update operations.
|
public void setDatabaseName(String databaseName)
The name of the database to consume within the DocumentDB cluster.
databaseName
- The name of the database to consume within the DocumentDB cluster.public String getDatabaseName()
The name of the database to consume within the DocumentDB cluster.
public DocumentDBEventSourceConfig withDatabaseName(String databaseName)
The name of the database to consume within the DocumentDB cluster.
databaseName
- The name of the database to consume within the DocumentDB cluster.public void setCollectionName(String collectionName)
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
collectionName
- The name of the collection to consume within the database. If you do not specify a collection, Lambda
consumes all collections.public String getCollectionName()
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
public DocumentDBEventSourceConfig withCollectionName(String collectionName)
The name of the collection to consume within the database. If you do not specify a collection, Lambda consumes all collections.
collectionName
- The name of the collection to consume within the database. If you do not specify a collection, Lambda
consumes all collections.public void setFullDocument(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.
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.FullDocument
public String getFullDocument()
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.
FullDocument
public DocumentDBEventSourceConfig withFullDocument(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.
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.FullDocument
public DocumentDBEventSourceConfig withFullDocument(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.
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.FullDocument
public String toString()
toString
in class Object
Object.toString()
public DocumentDBEventSourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.