@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSIoTFleetWiseException
The request couldn't be completed due to throttling.
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()
The quota identifier of the applied throttling rules for this request.
|
Integer |
getRetryAfterSeconds()
The number of seconds to wait before retrying the command.
|
String |
getServiceCode()
The code for the service that couldn't be completed due to throttling.
|
void |
setQuotaCode(String quotaCode)
The quota identifier of the applied throttling rules for this request.
|
void |
setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the command.
|
void |
setServiceCode(String serviceCode)
The code for the service that couldn't be completed due to throttling.
|
ThrottlingException |
withQuotaCode(String quotaCode)
The quota identifier of the applied throttling rules for this request.
|
ThrottlingException |
withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the command.
|
ThrottlingException |
withServiceCode(String serviceCode)
The code for the service that couldn't be completed due to throttling.
|
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)
The quota identifier of the applied throttling rules for this request.
quotaCode
- The quota identifier of the applied throttling rules for this request.public String getQuotaCode()
The quota identifier of the applied throttling rules for this request.
public ThrottlingException withQuotaCode(String quotaCode)
The quota identifier of the applied throttling rules for this request.
quotaCode
- The quota identifier of the applied throttling rules for this request.public void setServiceCode(String serviceCode)
The code for the service that couldn't be completed due to throttling.
serviceCode
- The code for the service that couldn't be completed due to throttling.public String getServiceCode()
The code for the service that couldn't be completed due to throttling.
public ThrottlingException withServiceCode(String serviceCode)
The code for the service that couldn't be completed due to throttling.
serviceCode
- The code for the service that couldn't be completed due to throttling.public void setRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the command.
retryAfterSeconds
- The number of seconds to wait before retrying the command.public Integer getRetryAfterSeconds()
The number of seconds to wait before retrying the command.
public ThrottlingException withRetryAfterSeconds(Integer retryAfterSeconds)
The number of seconds to wait before retrying the command.
retryAfterSeconds
- The number of seconds to wait before retrying the command.