@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AmazonLookoutforVisionException
A service quota was exceeded the allowed limit. For more information, see Limits in Amazon Lookout for Vision in the Amazon Lookout for Vision Developer Guide.
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.
|
String |
getResourceId()
The ID of the resource.
|
String |
getResourceType()
The type of the resource.
|
String |
getServiceCode()
The service code.
|
void |
setQuotaCode(String quotaCode)
The quota code.
|
void |
setResourceId(String resourceId)
The ID of the resource.
|
void |
setResourceType(String resourceType)
The type of the resource.
|
void |
setServiceCode(String serviceCode)
The service code.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The quota code.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource.
|
ServiceQuotaExceededException |
withResourceType(ResourceType resourceType)
The type of the resource.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of the resource.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The service code.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCodeisRetryableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ServiceQuotaExceededException(String message)
message - Describes the error encountered.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.ResourceTypepublic String getResourceType()
The type of the resource.
ResourceTypepublic ServiceQuotaExceededException withResourceType(String resourceType)
The type of the resource.
resourceType - The type of the resource.ResourceTypepublic ServiceQuotaExceededException withResourceType(ResourceType resourceType)
The type of the resource.
resourceType - The type of the resource.ResourceTypepublic void setQuotaCode(String quotaCode)
The quota code.
quotaCode - The quota code.public String getQuotaCode()
The quota code.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The quota code.
quotaCode - The quota code.public void setServiceCode(String serviceCode)
The service code.
serviceCode - The service code.public String getServiceCode()
The service code.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The service code.
serviceCode - The service code.