@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TooManyRequestsException extends AmazonApiGatewayV2Exception
A limit has been exceeded. See the accompanying error message for details.
AmazonServiceException.ErrorType
Constructor and Description |
---|
TooManyRequestsException(String message)
Constructs a new TooManyRequestsException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getLimitType()
The limit type.
|
void |
setLimitType(String limitType)
The limit type.
|
TooManyRequestsException |
withLimitType(String limitType)
The limit type.
|
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 TooManyRequestsException(String message)
message
- Describes the error encountered.public void setLimitType(String limitType)
The limit type.
limitType
- The limit type.public String getLimitType()
The limit type.
public TooManyRequestsException withLimitType(String limitType)
The limit type.
limitType
- The limit type.