Class ThrottleSettings

java.lang.Object
com.amazonaws.services.apigateway.model.ThrottleSettings
All Implemented Interfaces:
Serializable, Cloneable

public class ThrottleSettings extends Object implements Serializable, Cloneable

Returns the throttle settings.

See Also:
  • Constructor Details

    • ThrottleSettings

      public ThrottleSettings()
  • Method Details

    • 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:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public ThrottleSettings clone()
      Overrides:
      clone in class Object