@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSdrsException
The request could not be completed because its exceeded the 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 |
getCode() |
String |
getQuotaCode()
Quota code.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The type of the resource.
|
String |
getServiceCode()
Service code.
|
void |
setCode(String code) |
void |
setQuotaCode(String quotaCode)
Quota code.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The type of the resource.
|
void |
setServiceCode(String serviceCode)
Service code.
|
ServiceQuotaExceededException |
withCode(String code) |
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
Quota code.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of the resource.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
Service code.
|
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 setCode(String code)
code
- public String getCode()
public ServiceQuotaExceededException withCode(String code)
code
- public void setQuotaCode(String quotaCode)
Quota code.
quotaCode
- Quota code.public String getQuotaCode()
Quota code.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
Quota code.
quotaCode
- Quota code.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 the resource.
resourceType
- The type of the resource.public String getResourceType()
The type of the resource.
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of the resource.
resourceType
- The type of the resource.public void setServiceCode(String serviceCode)
Service code.
serviceCode
- Service code.public String getServiceCode()
Service code.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
Service code.
serviceCode
- Service code.