@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSAppFabricException
The request rate 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 code for the quota exceeded.
|
Integer |
getRetryAfterSeconds()
The period of time after which you should retry your request.
|
String |
getServiceCode()
The code of the service.
|
void |
setQuotaCode(String quotaCode)
The code for the quota exceeded.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The period of time after which you should retry your request.
|
void |
setServiceCode(String serviceCode)
The code of the service.
|
ThrottlingException |
withQuotaCode(String quotaCode)
The code for the quota exceeded.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The period of time after which you should retry your request.
|
ThrottlingException |
withServiceCode(String serviceCode)
The code of the service.
|
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 code of the service.
serviceCode
- The code of the service.public String getServiceCode()
The code of the service.
public ThrottlingException withServiceCode(String serviceCode)
The code of the service.
serviceCode
- The code of the service.public void setQuotaCode(String quotaCode)
The code for the quota exceeded.
quotaCode
- The code for the quota exceeded.public String getQuotaCode()
The code for the quota exceeded.
public ThrottlingException withQuotaCode(String quotaCode)
The code for the quota exceeded.
quotaCode
- The code for the quota exceeded.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The period of time after which you should retry your request.
retryAfterSeconds
- The period of time after which you should retry your request.public Integer getRetryAfterSeconds()
The period of time after which you should retry your request.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
The period of time after which you should retry your request.
retryAfterSeconds
- The period of time after which you should retry your request.