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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThrottleSettings()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrottleSettingsclone()booleanequals(Object obj)IntegergetBurstLimit()Returns the burstLimit when ThrottleSettings is called.DoublegetRateLimit()Returns the rateLimit when ThrottleSettings is called.inthashCode()voidsetBurstLimit(Integer burstLimit)Returns the burstLimit when ThrottleSettings is called.voidsetRateLimit(Double rateLimit)Returns the rateLimit when ThrottleSettings is called.StringtoString()Returns a string representation of this object; useful for testing and debugging.ThrottleSettingswithBurstLimit(Integer burstLimit)Returns the burstLimit when ThrottleSettings is called.ThrottleSettingswithRateLimit(Double rateLimit)Returns the rateLimit when ThrottleSettings is called.
-
-
-
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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ThrottleSettings clone()
-
-