AutoscaleSettings Class
- java.
lang. Object - com.
azure. resourcemanager. cosmos. models. AutoscaleSettings
- com.
Implements
public final class AutoscaleSettings
implements JsonSerializable<AutoscaleSettings>
The AutoscaleSettings model.
Constructor Summary
Constructor | Description |
---|---|
AutoscaleSettings() |
Creates an instance of Autoscale |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Autoscale |
fromJson(JsonReader jsonReader)
Reads an instance of Autoscale |
Integer |
maxThroughput()
Get the max |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Autoscale |
withMaxThroughput(Integer maxThroughput)
Set the max |
Methods inherited from java.lang.Object
Constructor Details
AutoscaleSettings
public AutoscaleSettings()
Creates an instance of AutoscaleSettings class.
Method Details
fromJson
public static AutoscaleSettings fromJson(JsonReader jsonReader)
Reads an instance of AutoscaleSettings from the JsonReader.
Parameters:
Returns:
Throws:
maxThroughput
public Integer maxThroughput()
Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.
Returns:
toJson
validate
public void validate()
Validates the instance.
withMaxThroughput
public AutoscaleSettings withMaxThroughput(Integer maxThroughput)
Set the maxThroughput property: Represents maximum throughput, the resource can scale up to.
Parameters:
Returns:
Applies to
Azure SDK for Java