Class ThroughputSettings

    • Constructor Detail

      • ThroughputSettings

        public ThroughputSettings()
    • Method Detail

      • getRequestUnits

        public java.lang.Integer getRequestUnits()
        Returns:
        the request units
      • setRequestUnits

        public void setRequestUnits​(java.lang.Integer requestUnits)
        Sets the request units.
        Parameters:
        requestUnits - the request units
      • isAutoScale

        public boolean isAutoScale()
        Returns:
        gets an indicator telling whether throughput is auto scaled
      • setAutoScale

        public void setAutoScale​(boolean autoScale)
        Sets the auto scaled indicator for throughput.
        Parameters:
        autoScale - auto scale value
      • createThroughputProperties

        public com.azure.cosmos.models.ThroughputProperties createThroughputProperties()
        Returns:
        an instance of ThroughputProperties based on these settings and null if requestUnits not greater than zero