@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AmazonChimeSDKMeetingsException
The number of customer requests exceeds the request rate 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 |
getCode() |
String |
getRequestId()
The ID of the request that exceeded the throttling limit.
|
void |
setCode(String code) |
void |
setRequestId(String requestId)
The ID of the request that exceeded the throttling limit.
|
ThrottlingException |
withCode(String code) |
ThrottlingException |
withRequestId(String requestId)
The ID of the request that exceeded the throttling limit.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, 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 setCode(String code)
code
- public String getCode()
public ThrottlingException withCode(String code)
code
- public void setRequestId(String requestId)
The ID of the request that exceeded the throttling limit.
setRequestId
in class AmazonServiceException
requestId
- The ID of the request that exceeded the throttling limit.public String getRequestId()
The ID of the request that exceeded the throttling limit.
getRequestId
in class AmazonServiceException
public ThrottlingException withRequestId(String requestId)
The ID of the request that exceeded the throttling limit.
requestId
- The ID of the request that exceeded the throttling limit.