@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TooManyRequestsException extends AmazonApiGatewayException
The request has reached its throttling limit. Retry after the specified time period.
AmazonServiceException.ErrorType
Constructor and Description |
---|
TooManyRequestsException(String message)
Constructs a new TooManyRequestsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getRetryAfterSeconds() |
void |
setRetryAfterSeconds(String retryAfterSeconds) |
TooManyRequestsException |
withRetryAfterSeconds(String retryAfterSeconds) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public TooManyRequestsException(String message)
message
- Describes the error encountered.public void setRetryAfterSeconds(String retryAfterSeconds)
retryAfterSeconds
- public String getRetryAfterSeconds()
public TooManyRequestsException withRetryAfterSeconds(String retryAfterSeconds)
retryAfterSeconds
- Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.