Class AutoscaleSettings
- java.lang.Object
-
- com.azure.resourcemanager.cosmos.models.AutoscaleSettings
-
public final class AutoscaleSettings extends Object
The AutoscaleSettings model.
-
-
Constructor Summary
Constructors Constructor Description AutoscaleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegermaxThroughput()Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.voidvalidate()Validates the instance.AutoscaleSettingswithMaxThroughput(Integer maxThroughput)Set the maxThroughput property: Represents maximum throughput, the resource can scale up to.
-
-
-
Method Detail
-
maxThroughput
public Integer maxThroughput()
Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.- Returns:
- the maxThroughput value.
-
withMaxThroughput
public AutoscaleSettings withMaxThroughput(Integer maxThroughput)
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.
-
-