Class ThroughputSettingsUpdateProperties


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

      • ThroughputSettingsUpdateProperties

        public ThroughputSettingsUpdateProperties()
    • Method Detail

      • resource

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

        public ThroughputSettingsUpdateProperties withResource​(ThroughputSettingsResource resource)
        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.