@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceLimitExceededException extends AWSDataExchangeException
The request has exceeded the quotas imposed by the service.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
ServiceLimitExceededException(String message)
Constructs a new ServiceLimitExceededException with the specified error message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLimitName()
The name of the limit that was reached.
|
Double |
getLimitValue()
The value of the exceeded limit.
|
void |
setLimitName(String limitName)
The name of the limit that was reached.
|
void |
setLimitValue(Double limitValue)
The value of the exceeded limit.
|
ServiceLimitExceededException |
withLimitName(LimitName limitName)
The name of the limit that was reached.
|
ServiceLimitExceededException |
withLimitName(String limitName)
The name of the limit that was reached.
|
ServiceLimitExceededException |
withLimitValue(Double limitValue)
The value of the exceeded limit.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceLimitExceededException(String message)
message - Describes the error encountered.public void setLimitName(String limitName)
The name of the limit that was reached.
limitName - The name of the limit that was reached.LimitNamepublic String getLimitName()
The name of the limit that was reached.
LimitNamepublic ServiceLimitExceededException withLimitName(String limitName)
The name of the limit that was reached.
limitName - The name of the limit that was reached.LimitNamepublic ServiceLimitExceededException withLimitName(LimitName limitName)
The name of the limit that was reached.
limitName - The name of the limit that was reached.LimitNamepublic void setLimitValue(Double limitValue)
The value of the exceeded limit.
limitValue - The value of the exceeded limit.public Double getLimitValue()
The value of the exceeded limit.
public ServiceLimitExceededException withLimitValue(Double limitValue)
The value of the exceeded limit.
limitValue - The value of the exceeded limit.