Class MongoDbV2CollectionDatasetTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.MongoDbV2CollectionDatasetTypeProperties
-
public final class MongoDbV2CollectionDatasetTypeProperties extends Object
MongoDB database dataset properties.
-
-
Constructor Summary
Constructors Constructor Description MongoDbV2CollectionDatasetTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
collection()
Get the collection property: The collection name of the MongoDB database.void
validate()
Validates the instance.MongoDbV2CollectionDatasetTypeProperties
withCollection(Object collection)
Set the collection property: The collection name of the MongoDB database.
-
-
-
Method Detail
-
collection
public Object collection()
Get the collection property: The collection name of the MongoDB database. Type: string (or Expression with resultType string).- Returns:
- the collection value.
-
withCollection
public MongoDbV2CollectionDatasetTypeProperties withCollection(Object collection)
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.
-
-