Class CosmosDbMongoDbApiCollectionDatasetTypeProperties
- java.lang.Object
-
- com.azure.resourcemanager.datafactory.fluent.models.CosmosDbMongoDbApiCollectionDatasetTypeProperties
-
public final class CosmosDbMongoDbApiCollectionDatasetTypeProperties extends Object
CosmosDB (MongoDB API) database dataset properties.
-
-
Constructor Summary
Constructors Constructor Description CosmosDbMongoDbApiCollectionDatasetTypeProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
collection()
Get the collection property: The collection name of the CosmosDB (MongoDB API) database.void
validate()
Validates the instance.CosmosDbMongoDbApiCollectionDatasetTypeProperties
withCollection(Object collection)
Set the collection property: The collection name of the CosmosDB (MongoDB API) database.
-
-
-
Method Detail
-
collection
public Object collection()
Get the collection property: The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).- Returns:
- the collection value.
-
withCollection
public CosmosDbMongoDbApiCollectionDatasetTypeProperties withCollection(Object collection)
Set the collection property: The collection name of the CosmosDB (MongoDB API) database. Type: string (or Expression with resultType string).- Parameters:
collection
- the collection value to set.- Returns:
- the CosmosDbMongoDbApiCollectionDatasetTypeProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-