@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSdrsException
The request was denied due to request throttling.
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()
Quota code.
|
String |
getRetryAfterSeconds()
The number of seconds after which the request should be safe to retry.
|
String |
getServiceCode()
Service code.
|
void |
setQuotaCode(String quotaCode)
Quota code.
|
void |
setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds after which the request should be safe to retry.
|
void |
setServiceCode(String serviceCode)
Service code.
|
ThrottlingException |
withQuotaCode(String quotaCode)
Quota code.
|
ThrottlingException |
withRetryAfterSeconds(String retryAfterSeconds)
The number of seconds after which the request should be safe to retry.
|
ThrottlingException |
withServiceCode(String serviceCode)
Service code.
|
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 setQuotaCode(String quotaCode)
Quota code.
quotaCode
- Quota code.public String getQuotaCode()
Quota code.
public ThrottlingException withQuotaCode(String quotaCode)
Quota code.
quotaCode
- Quota code.public void setRetryAfterSeconds(String retryAfterSeconds)
The number of seconds after which the request should be safe to retry.
retryAfterSeconds
- The number of seconds after which the request should be safe to retry.public String getRetryAfterSeconds()
The number of seconds after which the request should be safe to retry.
public ThrottlingException withRetryAfterSeconds(String retryAfterSeconds)
The number of seconds after which the request should be safe to retry.
retryAfterSeconds
- The number of seconds after which the request should be safe to retry.public void setServiceCode(String serviceCode)
Service code.
serviceCode
- Service code.public String getServiceCode()
Service code.
public ThrottlingException withServiceCode(String serviceCode)
Service code.
serviceCode
- Service code.