@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RequestThrottledException extends AmazonEBSException
The number of API requests has exceed the maximum allowed API request throttling limit.
AmazonServiceException.ErrorType
Constructor and Description |
---|
RequestThrottledException(String message)
Constructs a new RequestThrottledException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getReason()
The reason for the exception.
|
void |
setReason(String reason)
The reason for the exception.
|
RequestThrottledException |
withReason(RequestThrottledExceptionReason reason)
The reason for the exception.
|
RequestThrottledException |
withReason(String reason)
The reason for the exception.
|
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 RequestThrottledException(String message)
message
- Describes the error encountered.public void setReason(String reason)
The reason for the exception.
reason
- The reason for the exception.RequestThrottledExceptionReason
public String getReason()
The reason for the exception.
RequestThrottledExceptionReason
public RequestThrottledException withReason(String reason)
The reason for the exception.
reason
- The reason for the exception.RequestThrottledExceptionReason
public RequestThrottledException withReason(RequestThrottledExceptionReason reason)
The reason for the exception.
reason
- The reason for the exception.RequestThrottledExceptionReason