Class MongoDBTarget
java.lang.Object
software.amazon.awssdk.services.glue.model.MongoDBTarget
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MongoDBTarget.Builder,MongoDBTarget>
@Generated("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.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic MongoDBTarget.Builderbuilder()final StringThe name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringpath()The path of the Amazon DocumentDB or MongoDB target (database/collection).final BooleanscanAll()Indicates whether to scan all the records, or to sample rows from the table.static Class<? extends MongoDBTarget.Builder>final StringtoString()Returns a string representation of this object.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
connectionName
The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
- Returns:
- The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.
-
path
The path of the Amazon DocumentDB or MongoDB target (database/collection).
- Returns:
- The path of the Amazon DocumentDB or MongoDB target (database/collection).
-
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
truemeans to scan all records, while a value offalsemeans to sample the records. If no value is specified, the value defaults totrue.- Returns:
- 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
truemeans to scan all records, while a value offalsemeans to sample the records. If no value is specified, the value defaults totrue.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MongoDBTarget.Builder,MongoDBTarget>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-