Class AutoscaleSettings

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

public final class AutoscaleSettings extends Object
The AutoscaleSettings model.
  • 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.
    • 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.