@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSResourceExplorer2Exception
The request failed because it exceeds a service quota.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceQuotaExceededException(String message)
Constructs a new ServiceQuotaExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getName()
The name of the service quota that was exceeded by the request.
|
String |
getValue()
The current value for the quota that the request tried to exceed.
|
void |
setName(String name)
The name of the service quota that was exceeded by the request.
|
void |
setValue(String value)
The current value for the quota that the request tried to exceed.
|
ServiceQuotaExceededException |
withName(String name)
The name of the service quota that was exceeded by the request.
|
ServiceQuotaExceededException |
withValue(String value)
The current value for the quota that the request tried to exceed.
|
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 ServiceQuotaExceededException(String message)
message
- Describes the error encountered.public void setName(String name)
The name of the service quota that was exceeded by the request.
name
- The name of the service quota that was exceeded by the request.public String getName()
The name of the service quota that was exceeded by the request.
public ServiceQuotaExceededException withName(String name)
The name of the service quota that was exceeded by the request.
name
- The name of the service quota that was exceeded by the request.public void setValue(String value)
The current value for the quota that the request tried to exceed.
value
- The current value for the quota that the request tried to exceed.public String getValue()
The current value for the quota that the request tried to exceed.
public ServiceQuotaExceededException withValue(String value)
The current value for the quota that the request tried to exceed.
value
- The current value for the quota that the request tried to exceed.