Class ThrottleSettings

    • Constructor Detail

      • ThrottleSettings

        public ThrottleSettings()
    • Method Detail

      • setBurstLimit

        public void setBurstLimit​(Integer burstLimit)

        Returns the burstLimit when ThrottleSettings is called.

        Parameters:
        burstLimit - Returns the burstLimit when ThrottleSettings is called.
      • getBurstLimit

        public Integer getBurstLimit()

        Returns the burstLimit when ThrottleSettings is called.

        Returns:
        Returns the burstLimit when ThrottleSettings is called.
      • withBurstLimit

        public ThrottleSettings withBurstLimit​(Integer burstLimit)

        Returns the burstLimit when ThrottleSettings is called.

        Parameters:
        burstLimit - Returns the burstLimit when ThrottleSettings is called.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setRateLimit

        public void setRateLimit​(Double rateLimit)

        Returns the rateLimit when ThrottleSettings is called.

        Parameters:
        rateLimit - Returns the rateLimit when ThrottleSettings is called.
      • getRateLimit

        public Double getRateLimit()

        Returns the rateLimit when ThrottleSettings is called.

        Returns:
        Returns the rateLimit when ThrottleSettings is called.
      • withRateLimit

        public ThrottleSettings withRateLimit​(Double rateLimit)

        Returns the rateLimit when ThrottleSettings is called.

        Parameters:
        rateLimit - Returns the rateLimit when ThrottleSettings is called.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • toString

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object