@Generated(value="software.amazon.awssdk:codegen") public final class MongoDBTarget extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MongoDBTarget.Builder,MongoDBTarget>
Specifies an Amazon DocumentDB or MongoDB data store to crawl.
| Modifier and Type | Class and Description |
|---|---|
static interface |
MongoDBTarget.Builder |
| Modifier and Type | Method and Description |
|---|---|
static MongoDBTarget.Builder |
builder() |
String |
connectionName()
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
path()
The path of the Amazon DocumentDB or MongoDB target (database/collection).
|
Boolean |
scanAll()
Indicates whether to scan all the records, or to sample rows from the table.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends MongoDBTarget.Builder> |
serializableBuilderClass() |
MongoDBTarget.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String connectionName()
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
public final String path()
The path of the Amazon DocumentDB or MongoDB target (database/collection).
public final Boolean scanAll()
Indicates whether to scan all the records, or to sample rows from the table. Scanning all the records can take a long time when the table is not a high throughput table.
A value of true means to scan all records, while a value of false means to sample the
records. If no value is specified, the value defaults to true.
A value of true means to scan all records, while a value of false means to
sample the records. If no value is specified, the value defaults to true.
public MongoDBTarget.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<MongoDBTarget.Builder,MongoDBTarget>public static MongoDBTarget.Builder builder()
public static Class<? extends MongoDBTarget.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.