Class ElasticPoolPerDatabaseSettings
java.lang.Object
com.azure.resourcemanager.sql.models.ElasticPoolPerDatabaseSettings
Per database settings of an elastic pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ElasticPoolPerDatabaseSettings class. -
Method Summary
Modifier and TypeMethodDescriptionGet the maxCapacity property: The maximum capacity any one database can consume.Get the minCapacity property: The minimum capacity all databases are guaranteed.voidvalidate()Validates the instance.withMaxCapacity(Double maxCapacity) Set the maxCapacity property: The maximum capacity any one database can consume.withMinCapacity(Double minCapacity) Set the minCapacity property: The minimum capacity all databases are guaranteed.
-
Constructor Details
-
ElasticPoolPerDatabaseSettings
public ElasticPoolPerDatabaseSettings()Creates an instance of ElasticPoolPerDatabaseSettings class.
-
-
Method Details
-
minCapacity
Get the minCapacity property: The minimum capacity all databases are guaranteed.- Returns:
- the minCapacity value.
-
withMinCapacity
Set the minCapacity property: The minimum capacity all databases are guaranteed.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the ElasticPoolPerDatabaseSettings object itself.
-
maxCapacity
Get the maxCapacity property: The maximum capacity any one database can consume.- Returns:
- the maxCapacity value.
-
withMaxCapacity
Set the maxCapacity property: The maximum capacity any one database can consume.- Parameters:
maxCapacity- the maxCapacity value to set.- Returns:
- the ElasticPoolPerDatabaseSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-