@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ThrottlingException extends AmazonCodeGuruSecurityException
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 |
getErrorCode ()
The identifier for the error.
|
String |
getQuotaCode ()
The identifier for the originating quota.
|
String |
getServiceCode ()
The identifier for the originating service.
|
void |
setErrorCode (String errorCode)
The identifier for the error.
|
void |
setQuotaCode (String quotaCode)
The identifier for the originating quota.
|
void |
setServiceCode (String serviceCode)
The identifier for the originating service.
|
ThrottlingException |
withErrorCode (String errorCode)
The identifier for the error.
|
ThrottlingException |
withQuotaCode (String quotaCode)
The identifier for the originating quota.
|
ThrottlingException |
withServiceCode (String serviceCode)
The identifier for the originating service.
|
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, 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 setErrorCode(String errorCode)
The identifier for the error.
setErrorCode in class AmazonServiceException errorCode - The identifier for the error.public String getErrorCode()
The identifier for the error.
getErrorCode in class AmazonServiceException public ThrottlingException withErrorCode(String errorCode)
The identifier for the error.
errorCode - The identifier for the error.public void setQuotaCode(String quotaCode)
The identifier for the originating quota.
quotaCode - The identifier for the originating quota.public String getQuotaCode()
The identifier for the originating quota.
public ThrottlingException withQuotaCode(String quotaCode)
The identifier for the originating quota.
quotaCode - The identifier for the originating quota.public void setServiceCode(String serviceCode)
The identifier for the originating service.
serviceCode - The identifier for the originating service.public String getServiceCode()
The identifier for the originating service.
public ThrottlingException withServiceCode(String serviceCode)
The identifier for the originating service.
serviceCode - The identifier for the originating service.