@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 quota that was exceeded.
|
Double |
getLimitValue()
The maximum value for the service-specific limit.
|
void |
setLimitName(String limitName)
The name of the quota that was exceeded.
|
void |
setLimitValue(Double limitValue)
The maximum value for the service-specific limit.
|
ServiceLimitExceededException |
withLimitName(LimitName limitName)
The name of the quota that was exceeded.
|
ServiceLimitExceededException |
withLimitName(String limitName)
The name of the quota that was exceeded.
|
ServiceLimitExceededException |
withLimitValue(Double limitValue)
The maximum value for the service-specific 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 quota that was exceeded.
limitName - The name of the quota that was exceeded.LimitNamepublic String getLimitName()
The name of the quota that was exceeded.
LimitNamepublic ServiceLimitExceededException withLimitName(String limitName)
The name of the quota that was exceeded.
limitName - The name of the quota that was exceeded.LimitNamepublic ServiceLimitExceededException withLimitName(LimitName limitName)
The name of the quota that was exceeded.
limitName - The name of the quota that was exceeded.LimitNamepublic void setLimitValue(Double limitValue)
The maximum value for the service-specific limit.
limitValue - The maximum value for the service-specific limit.public Double getLimitValue()
The maximum value for the service-specific limit.
public ServiceLimitExceededException withLimitValue(Double limitValue)
The maximum value for the service-specific limit.
limitValue - The maximum value for the service-specific limit.Copyright © 2021. All rights reserved.