Class MongoDbV2CollectionDatasetTypeProperties

java.lang.Object
com.azure.resourcemanager.datafactory.fluent.models.MongoDbV2CollectionDatasetTypeProperties

public final class MongoDbV2CollectionDatasetTypeProperties extends Object
MongoDB database dataset properties.
  • Constructor Details

    • MongoDbV2CollectionDatasetTypeProperties

      public MongoDbV2CollectionDatasetTypeProperties()
  • Method Details

    • 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.