@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSPanoramaException
The request would cause a limit 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 name of the limit.
|
String |
getResourceId()
The target resource's ID.
|
String |
getResourceType()
The target resource's type.
|
String |
getServiceCode()
The name of the service.
|
void |
setQuotaCode(String quotaCode)
The name of the limit.
|
void |
setResourceId(String resourceId)
The target resource's ID.
|
void |
setResourceType(String resourceType)
The target resource's type.
|
void |
setServiceCode(String serviceCode)
The name of the service.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The name of the limit.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The target resource's ID.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The target resource's type.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The name of the 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)
The name of the limit.
quotaCode
- The name of the limit.public String getQuotaCode()
The name of the limit.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The name of the limit.
quotaCode
- The name of the limit.public void setResourceId(String resourceId)
The target resource's ID.
resourceId
- The target resource's ID.public String getResourceId()
The target resource's ID.
public ServiceQuotaExceededException withResourceId(String resourceId)
The target resource's ID.
resourceId
- The target resource's ID.public void setResourceType(String resourceType)
The target resource's type.
resourceType
- The target resource's type.public String getResourceType()
The target resource's type.
public ServiceQuotaExceededException withResourceType(String resourceType)
The target resource's type.
resourceType
- The target resource's type.public void setServiceCode(String serviceCode)
The name of the service.
serviceCode
- The name of the service.public String getServiceCode()
The name of the service.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The name of the service.
serviceCode
- The name of the service.