@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSAppTestException
The number of requests made exceeds the limit.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ThrottlingException(String message)
Constructs a new ThrottlingException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getQuotaCode()
The quota code of requests that exceed the limit.
|
Integer |
getRetryAfterSeconds()
The number of seconds to retry after for requests that exceed the limit.
|
String |
getServiceCode()
The service code of requests that exceed the limit.
|
void |
setQuotaCode(String quotaCode)
The quota code of requests that exceed the limit.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to retry after for requests that exceed the limit.
|
void |
setServiceCode(String serviceCode)
The service code of requests that exceed the limit.
|
ThrottlingException |
withQuotaCode(String quotaCode)
The quota code of requests that exceed the limit.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to retry after for requests that exceed the limit.
|
ThrottlingException |
withServiceCode(String serviceCode)
The service code of requests that exceed the limit.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ThrottlingException(String message)
message
- Describes the error encountered.public void setServiceCode(String serviceCode)
The service code of requests that exceed the limit.
serviceCode
- The service code of requests that exceed the limit.public String getServiceCode()
The service code of requests that exceed the limit.
public ThrottlingException withServiceCode(String serviceCode)
The service code of requests that exceed the limit.
serviceCode
- The service code of requests that exceed the limit.public void setQuotaCode(String quotaCode)
The quota code of requests that exceed the limit.
quotaCode
- The quota code of requests that exceed the limit.public String getQuotaCode()
The quota code of requests that exceed the limit.
public ThrottlingException withQuotaCode(String quotaCode)
The quota code of requests that exceed the limit.
quotaCode
- The quota code of requests that exceed the limit.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to retry after for requests that exceed the limit.
retryAfterSeconds
- The number of seconds to retry after for requests that exceed the limit.public Integer getRetryAfterSeconds()
The number of seconds to retry after for requests that exceed the limit.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to retry after for requests that exceed the limit.
retryAfterSeconds
- The number of seconds to retry after for requests that exceed the limit.