Class ThroughputSettingsUpdateProperties

java.lang.Object
com.azure.resourcemanager.cosmos.fluent.models.ThroughputSettingsUpdateProperties

public final class ThroughputSettingsUpdateProperties extends Object
Properties to update Azure Cosmos DB resource throughput.
  • Constructor Details

    • ThroughputSettingsUpdateProperties

      public ThroughputSettingsUpdateProperties()
      Creates an instance of ThroughputSettingsUpdateProperties class.
  • Method Details

    • resource

      public ThroughputSettingsResource resource()
      Get the resource property: The standard JSON format of a resource throughput.
      Returns:
      the resource value.
    • withResource

      Set the resource property: The standard JSON format of a resource throughput.
      Parameters:
      resource - the resource value to set.
      Returns:
      the ThroughputSettingsUpdateProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.