@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSInspector2Exception
You have exceeded your service quota. To perform the requested action, remove some of the relevant resources, or use Service Quotas to request a service quota increase.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceQuotaExceededException(String message)
Constructs a new ServiceQuotaExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceId()
The ID of the resource that exceeds a service quota.
|
void |
setResourceId(String resourceId)
The ID of the resource that exceeds a service quota.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource that exceeds a service quota.
|
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 setResourceId(String resourceId)
The ID of the resource that exceeds a service quota.
resourceId
- The ID of the resource that exceeds a service quota.public String getResourceId()
The ID of the resource that exceeds a service quota.
public ServiceQuotaExceededException withResourceId(String resourceId)
The ID of the resource that exceeds a service quota.
resourceId
- The ID of the resource that exceeds a service quota.