Class AutoscaleSettings
java.lang.Object
com.azure.resourcemanager.cosmos.models.AutoscaleSettings
The AutoscaleSettings model.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the maxThroughput property: Represents maximum throughput, the resource can scale up to.voidvalidate()Validates the instance.withMaxThroughput(Integer maxThroughput) Set the maxThroughput property: Represents maximum throughput, the resource can scale up to.
-
Constructor Details
-
AutoscaleSettings
public AutoscaleSettings()Creates an instance of AutoscaleSettings class.
-
-
Method Details
-
maxThroughput
Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.- Returns:
- the maxThroughput value.
-
withMaxThroughput
Set the maxThroughput property: Represents maximum throughput, the resource can scale up to.- Parameters:
maxThroughput- the maxThroughput value to set.- Returns:
- the AutoscaleSettings object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-