Class CosmosDbSettings
- java.lang.Object
-
- com.azure.resourcemanager.machinelearning.models.CosmosDbSettings
-
public final class CosmosDbSettings extends Object
The CosmosDbSettings model.
-
-
Constructor Summary
Constructors Constructor Description CosmosDbSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Integer
collectionsThroughput()
Get the collectionsThroughput property: The throughput of the collections in cosmosdb database.void
validate()
Validates the instance.CosmosDbSettings
withCollectionsThroughput(Integer collectionsThroughput)
Set the collectionsThroughput property: The throughput of the collections in cosmosdb database.
-
-
-
Method Detail
-
collectionsThroughput
public Integer collectionsThroughput()
Get the collectionsThroughput property: The throughput of the collections in cosmosdb database.- Returns:
- the collectionsThroughput value.
-
withCollectionsThroughput
public CosmosDbSettings withCollectionsThroughput(Integer collectionsThroughput)
Set the collectionsThroughput property: The throughput of the collections in cosmosdb database.- Parameters:
collectionsThroughput
- the collectionsThroughput value to set.- Returns:
- the CosmosDbSettings object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-