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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMongoDBTarget.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MongoDBTarget.Builderbuilder()StringconnectionName()The name of the connection to use to connect to the Amazon DocumentDB or MongoDB target.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringpath()The path of the Amazon DocumentDB or MongoDB target (database/collection).BooleanscanAll()Indicates whether to scan all the records, or to sample rows from the table.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends MongoDBTarget.Builder>serializableBuilderClass()MongoDBTarget.BuildertoBuilder()StringtoString()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
-
connectionName
public final String 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
public final String 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
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
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
public MongoDBTarget.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MongoDBTarget.Builder,MongoDBTarget>
-
builder
public static MongoDBTarget.Builder builder()
-
serializableBuilderClass
public static Class<? extends MongoDBTarget.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin 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:
sdkFieldNameToFieldin interfaceSdkPojo
-
-