Class MongoDbV2CollectionDatasetTypeProperties
java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.MongoDbV2CollectionDatasetTypeProperties
MongoDB database dataset properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the collection property: The collection name of the MongoDB database.void
validate()
Validates the instance.withCollection
(Object collection) Set the collection property: The collection name of the MongoDB database.
-
Constructor Details
-
MongoDbV2CollectionDatasetTypeProperties
public MongoDbV2CollectionDatasetTypeProperties()
-
-
Method Details
-
collection
Get the collection property: The collection name of the MongoDB database. Type: string (or Expression with resultType string).- Returns:
- the collection value.
-
withCollection
Set the collection property: The collection name of the MongoDB database. Type: string (or Expression with resultType string).- Parameters:
collection
- the collection value to set.- Returns:
- the MongoDbV2CollectionDatasetTypeProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-