@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSOpenSearchServerlessException
Thrown when you attempt to create more resources than the service allows based on service quotas.
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 Quotas requirement to identify originating quota.
|
String |
getResourceId()
Identifier of the resource affected.
|
String |
getResourceType()
Type of the resource affected.
|
String |
getServiceCode()
Service Quotas requirement to identify originating service.
|
void |
setQuotaCode(String quotaCode)
Service Quotas requirement to identify originating quota.
|
void |
setResourceId(String resourceId)
Identifier of the resource affected.
|
void |
setResourceType(String resourceType)
Type of the resource affected.
|
void |
setServiceCode(String serviceCode)
Service Quotas requirement to identify originating service.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
Service Quotas requirement to identify originating quota.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
Identifier of the resource affected.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
Type of the resource affected.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
Service Quotas 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 Quotas requirement to identify originating quota.
quotaCode
- Service Quotas requirement to identify originating quota.public String getQuotaCode()
Service Quotas requirement to identify originating quota.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
Service Quotas requirement to identify originating quota.
quotaCode
- Service Quotas requirement to identify originating quota.public void setResourceId(String resourceId)
Identifier of the resource affected.
resourceId
- Identifier of the resource affected.public String getResourceId()
Identifier of the resource affected.
public ServiceQuotaExceededException withResourceId(String resourceId)
Identifier of the resource affected.
resourceId
- Identifier of the resource affected.public void setResourceType(String resourceType)
Type of the resource affected.
resourceType
- Type of the resource affected.public String getResourceType()
Type of the resource affected.
public ServiceQuotaExceededException withResourceType(String resourceType)
Type of the resource affected.
resourceType
- Type of the resource affected.public void setServiceCode(String serviceCode)
Service Quotas requirement to identify originating service.
serviceCode
- Service Quotas requirement to identify originating service.public String getServiceCode()
Service Quotas requirement to identify originating service.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
Service Quotas requirement to identify originating service.
serviceCode
- Service Quotas requirement to identify originating service.