@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 target request burst rate limit.
|
Double |
getRateLimit()
The API target request rate limit.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBurstLimit(Integer burstLimit)
The API target request burst rate limit.
|
void |
setRateLimit(Double rateLimit)
The API target request rate limit.
|
String |
toString()
Returns a string representation of this object.
|
ThrottleSettings |
withBurstLimit(Integer burstLimit)
The API target request burst rate limit.
|
ThrottleSettings |
withRateLimit(Double rateLimit)
The API target request rate limit.
|
public void setBurstLimit(Integer burstLimit)
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
burstLimit - The API target request burst rate limit. This allows more requests through for a period of time than the
target rate limit.public Integer getBurstLimit()
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
public ThrottleSettings withBurstLimit(Integer burstLimit)
The API target request burst rate limit. This allows more requests through for a period of time than the target rate limit.
burstLimit - The API target request burst rate limit. This allows more requests through for a period of time than the
target rate limit.public void setRateLimit(Double rateLimit)
The API target request rate limit.
rateLimit - The API target request rate limit.public Double getRateLimit()
The API target request rate limit.
public ThrottleSettings withRateLimit(Double rateLimit)
The API target request rate limit.
rateLimit - The API target request 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.