@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AWSBCMDataExportsException
The request was denied due to request 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 code that exceeded the throttling limit.
|
String |
getServiceCode()
The service code that exceeded the throttling limit.
|
void |
setQuotaCode(String quotaCode)
The quota code that exceeded the throttling limit.
|
void |
setServiceCode(String serviceCode)
The service code that exceeded the throttling limit.
|
ThrottlingException |
withQuotaCode(String quotaCode)
The quota code that exceeded the throttling limit.
|
ThrottlingException |
withServiceCode(String serviceCode)
The service code that exceeded the throttling limit.
|
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 code that exceeded the throttling limit.
quotaCode
- The quota code that exceeded the throttling limit.public String getQuotaCode()
The quota code that exceeded the throttling limit.
public ThrottlingException withQuotaCode(String quotaCode)
The quota code that exceeded the throttling limit.
quotaCode
- The quota code that exceeded the throttling limit.public void setServiceCode(String serviceCode)
The service code that exceeded the throttling limit. It will always be “AWSBillingAndCostManagementDataExports”.
serviceCode
- The service code that exceeded the throttling limit. It will always be
“AWSBillingAndCostManagementDataExports”.public String getServiceCode()
The service code that exceeded the throttling limit. It will always be “AWSBillingAndCostManagementDataExports”.
public ThrottlingException withServiceCode(String serviceCode)
The service code that exceeded the throttling limit. It will always be “AWSBillingAndCostManagementDataExports”.
serviceCode
- The service code that exceeded the throttling limit. It will always be
“AWSBillingAndCostManagementDataExports”.