@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AmazonVerifiedPermissionsException
The request failed because it would cause a service quota to be exceeded.
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 quota code recognized by the Amazon Web Services Service Quotas service.
|
String |
getResourceId()
The unique ID of the resource referenced in the failed request.
|
String |
getResourceType()
The resource type of the resource referenced in the failed request.
|
String |
getServiceCode()
The code for the Amazon Web Service that owns the quota.
|
void |
setQuotaCode(String quotaCode)
The quota code recognized by the Amazon Web Services Service Quotas service.
|
void |
setResourceId(String resourceId)
The unique ID of the resource referenced in the failed request.
|
void |
setResourceType(String resourceType)
The resource type of the resource referenced in the failed request.
|
void |
setServiceCode(String serviceCode)
The code for the Amazon Web Service that owns the quota.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The quota code recognized by the Amazon Web Services Service Quotas service.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The unique ID of the resource referenced in the failed request.
|
ServiceQuotaExceededException |
withResourceType(ResourceType resourceType)
The resource type of the resource referenced in the failed request.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The resource type of the resource referenced in the failed request.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The code for the Amazon Web Service that owns the 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 unique ID of the resource referenced in the failed request.
resourceId
- The unique ID of the resource referenced in the failed request.public String getResourceId()
The unique ID of the resource referenced in the failed request.
public ServiceQuotaExceededException withResourceId(String resourceId)
The unique ID of the resource referenced in the failed request.
resourceId
- The unique ID of the resource referenced in the failed request.public void setResourceType(String resourceType)
The resource type of the resource referenced in the failed request.
resourceType
- The resource type of the resource referenced in the failed request.ResourceType
public String getResourceType()
The resource type of the resource referenced in the failed request.
ResourceType
public ServiceQuotaExceededException withResourceType(String resourceType)
The resource type of the resource referenced in the failed request.
resourceType
- The resource type of the resource referenced in the failed request.ResourceType
public ServiceQuotaExceededException withResourceType(ResourceType resourceType)
The resource type of the resource referenced in the failed request.
resourceType
- The resource type of the resource referenced in the failed request.ResourceType
public void setServiceCode(String serviceCode)
The code for the Amazon Web Service that owns the quota.
serviceCode
- The code for the Amazon Web Service that owns the quota.public String getServiceCode()
The code for the Amazon Web Service that owns the quota.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The code for the Amazon Web Service that owns the quota.
serviceCode
- The code for the Amazon Web Service that owns the quota.public void setQuotaCode(String quotaCode)
The quota code recognized by the Amazon Web Services Service Quotas service.
quotaCode
- The quota code recognized by the Amazon Web Services Service Quotas service.public String getQuotaCode()
The quota code recognized by the Amazon Web Services Service Quotas service.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The quota code recognized by the Amazon Web Services Service Quotas service.
quotaCode
- The quota code recognized by the Amazon Web Services Service Quotas service.