@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSQAppsException
The requested operation could not be completed because it would exceed the service's quota or limit.
AmazonServiceException.ErrorType
Constructor and Description |
---|
ServiceQuotaExceededException(String message)
Constructs a new ServiceQuotaExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getQuotaCode()
The code of the quota that was exceeded
|
String |
getResourceId()
The unique identifier of the resource
|
String |
getResourceType()
The type of the resource
|
String |
getServiceCode()
The code for the service where the quota was exceeded
|
void |
setQuotaCode(String quotaCode)
The code of the quota that was exceeded
|
void |
setResourceId(String resourceId)
The unique identifier of the resource
|
void |
setResourceType(String resourceType)
The type of the resource
|
void |
setServiceCode(String serviceCode)
The code for the service where the quota was exceeded
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The code of the quota that was exceeded
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The unique identifier of the resource
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of the resource
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The code for the service where the quota was exceeded
|
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 unique identifier of the resource
resourceId
- The unique identifier of the resourcepublic String getResourceId()
The unique identifier of the resource
public ServiceQuotaExceededException withResourceId(String resourceId)
The unique identifier of the resource
resourceId
- The unique identifier of the resourcepublic void setResourceType(String resourceType)
The type of the resource
resourceType
- The type of the resourcepublic String getResourceType()
The type of the resource
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of the resource
resourceType
- The type of the resourcepublic void setServiceCode(String serviceCode)
The code for the service where the quota was exceeded
serviceCode
- The code for the service where the quota was exceededpublic String getServiceCode()
The code for the service where the quota was exceeded
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The code for the service where the quota was exceeded
serviceCode
- The code for the service where the quota was exceededpublic void setQuotaCode(String quotaCode)
The code of the quota that was exceeded
quotaCode
- The code of the quota that was exceededpublic String getQuotaCode()
The code of the quota that was exceeded
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The code of the quota that was exceeded
quotaCode
- The code of the quota that was exceeded