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 ThrottleSettings
clone()
boolean
equals(Object obj)
Integer
getBurstLimit()
Returns the burstLimit when ThrottleSettings is called.Double
getRateLimit()
Returns the rateLimit when ThrottleSettings is called.int
hashCode()
void
setBurstLimit(Integer burstLimit)
Returns the burstLimit when ThrottleSettings is called.void
setRateLimit(Double rateLimit)
Returns the rateLimit when ThrottleSettings is called.String
toString()
Returns a string representation of this object; useful for testing and debugging.ThrottleSettings
withBurstLimit(Integer burstLimit)
Returns the burstLimit when ThrottleSettings is called.ThrottleSettings
withRateLimit(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ThrottleSettings clone()
-
-