@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottleSettings extends Object implements Serializable, Cloneable, StructuredPojo
The API request rate limits.
| Constructor and Description |
|---|
ThrottleSettings() |
| Modifier and Type | Method and Description |
|---|---|
ThrottleSettings |
clone() |
boolean |
equals(Object obj) |
Integer |
getBurstLimit()
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon
whether the underlying token bucket is at its full capacity.
|
Double |
getRateLimit()
The API request steady-state rate limit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBurstLimit(Integer burstLimit)
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon
whether the underlying token bucket is at its full capacity.
|
void |
setRateLimit(Double rateLimit)
The API request steady-state rate limit.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ThrottleSettings |
withBurstLimit(Integer burstLimit)
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon
whether the underlying token bucket is at its full capacity.
|
ThrottleSettings |
withRateLimit(Double rateLimit)
The API request steady-state rate limit.
|
public void setBurstLimit(Integer burstLimit)
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
burstLimit - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds,
depending upon whether the underlying token bucket is at its full capacity.public Integer getBurstLimit()
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
public ThrottleSettings withBurstLimit(Integer burstLimit)
The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds, depending upon whether the underlying token bucket is at its full capacity.
burstLimit - The API request burst limit, the maximum rate limit over a time ranging from one to a few seconds,
depending upon whether the underlying token bucket is at its full capacity.public void setRateLimit(Double rateLimit)
The API request steady-state rate limit.
rateLimit - The API request steady-state rate limit.public Double getRateLimit()
The API request steady-state rate limit.
public ThrottleSettings withRateLimit(Double rateLimit)
The API request steady-state rate limit.
rateLimit - The API request steady-state rate limit.public String toString()
toString in class ObjectObject.toString()public ThrottleSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.