Class ElasticPoolPerDatabaseSettings
- java.lang.Object
-
- com.azure.resourcemanager.sql.models.ElasticPoolPerDatabaseSettings
-
public final class ElasticPoolPerDatabaseSettings extends Object
Per database settings of an elastic pool.
-
-
Constructor Summary
Constructors Constructor Description ElasticPoolPerDatabaseSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DoublemaxCapacity()Get the maxCapacity property: The maximum capacity any one database can consume.DoubleminCapacity()Get the minCapacity property: The minimum capacity all databases are guaranteed.voidvalidate()Validates the instance.ElasticPoolPerDatabaseSettingswithMaxCapacity(Double maxCapacity)Set the maxCapacity property: The maximum capacity any one database can consume.ElasticPoolPerDatabaseSettingswithMinCapacity(Double minCapacity)Set the minCapacity property: The minimum capacity all databases are guaranteed.
-
-
-
Method Detail
-
minCapacity
public Double minCapacity()
Get the minCapacity property: The minimum capacity all databases are guaranteed.- Returns:
- the minCapacity value.
-
withMinCapacity
public ElasticPoolPerDatabaseSettings withMinCapacity(Double minCapacity)
Set the minCapacity property: The minimum capacity all databases are guaranteed.- Parameters:
minCapacity- the minCapacity value to set.- Returns:
- the ElasticPoolPerDatabaseSettings object itself.
-
maxCapacity
public Double maxCapacity()
Get the maxCapacity property: The maximum capacity any one database can consume.- Returns:
- the maxCapacity value.
-
withMaxCapacity
public ElasticPoolPerDatabaseSettings withMaxCapacity(Double maxCapacity)
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.
-
-