AutoscaleSettings Class

  • java.lang.Object
    • com.azure.resourcemanager.cosmos.models.AutoscaleSettings

public final class AutoscaleSettings

The AutoscaleSettings model.

Constructor Summary

Constructor Description
AutoscaleSettings()

Creates an instance of AutoscaleSettings class.

Method Summary

Modifier and Type Method and Description
Integer maxThroughput()

Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.

void validate()

Validates the instance.

AutoscaleSettings withMaxThroughput(Integer maxThroughput)

Set the maxThroughput property: Represents maximum throughput, the resource can scale up to.

Methods inherited from java.lang.Object

Constructor Details

AutoscaleSettings

public AutoscaleSettings()

Creates an instance of AutoscaleSettings class.

Method Details

maxThroughput

public Integer maxThroughput()

Get the maxThroughput property: Represents maximum throughput, the resource can scale up to.

Returns:

the maxThroughput value.

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:

maxThroughput - the maxThroughput value to set.

Returns:

the AutoscaleSettings object itself.

Applies to