@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AmazonSecurityLakeException
The limit on the number of requests per second was exceeded.
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()
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
|
Integer |
getRetryAfterSeconds()
Retry the request after the specified time.
|
String |
getServiceCode()
The code for the service in Service Quotas.
|
void |
setQuotaCode(String quotaCode)
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
Retry the request after the specified time.
|
void |
setServiceCode(String serviceCode)
The code for the service in Service Quotas.
|
ThrottlingException |
withQuotaCode(String quotaCode)
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
Retry the request after the specified time.
|
ThrottlingException |
withServiceCode(String serviceCode)
The code for the service in Service Quotas.
|
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 setQuotaCode(String quotaCode)
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
quotaCode
- That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services
account.public String getQuotaCode()
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
public ThrottlingException withQuotaCode(String quotaCode)
That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services account.
quotaCode
- That the rate of requests to Security Lake is exceeding the request quotas for your Amazon Web Services
account.public void setRetryAfterSeconds(Integer retryAfterSeconds)
Retry the request after the specified time.
retryAfterSeconds
- Retry the request after the specified time.public Integer getRetryAfterSeconds()
Retry the request after the specified time.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
Retry the request after the specified time.
retryAfterSeconds
- Retry the request after the specified time.public void setServiceCode(String serviceCode)
The code for the service in Service Quotas.
serviceCode
- The code for the service in Service Quotas.public String getServiceCode()
The code for the service in Service Quotas.
public ThrottlingException withServiceCode(String serviceCode)
The code for the service in Service Quotas.
serviceCode
- The code for the service in Service Quotas.