@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSMigrationHubRefactorSpacesException
The request 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()
Service quota requirement to identify originating quota.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The type of resource.
|
String |
getServiceCode()
Service quota requirement to identify originating service.
|
void |
setQuotaCode(String quotaCode)
Service quota requirement to identify originating quota.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The type of resource.
|
void |
setServiceCode(String serviceCode)
Service quota requirement to identify originating service.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
Service quota requirement to identify originating quota.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of resource.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
Service quota requirement to identify originating service.
|
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 setQuotaCode(String quotaCode)
Service quota requirement to identify originating quota. Reached throttling quota exception.
quotaCode
- Service quota requirement to identify originating quota. Reached throttling quota exception.public String getQuotaCode()
Service quota requirement to identify originating quota. Reached throttling quota exception.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
Service quota requirement to identify originating quota. Reached throttling quota exception.
quotaCode
- Service quota requirement to identify originating quota. Reached throttling quota exception.public void setResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public String getResourceId()
The ID of the resource.
public ServiceQuotaExceededException withResourceId(String resourceId)
The ID of the resource.
resourceId
- The ID of the resource.public void setResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.public String getResourceType()
The type of resource.
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of resource.
resourceType
- The type of resource.public void setServiceCode(String serviceCode)
Service quota requirement to identify originating service. Reached throttling quota exception service code.
serviceCode
- Service quota requirement to identify originating service. Reached throttling quota exception service
code.public String getServiceCode()
Service quota requirement to identify originating service. Reached throttling quota exception service code.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
Service quota requirement to identify originating service. Reached throttling quota exception service code.
serviceCode
- Service quota requirement to identify originating service. Reached throttling quota exception service
code.