@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AmazonPrometheusException
Completing 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 quotas code of the originating quota.
|
String |
getResourceId()
Identifier of the resource affected.
|
String |
getResourceType()
Type of the resource affected.
|
String |
getServiceCode()
Service quotas code for the originating service.
|
void |
setQuotaCode(String quotaCode)
Service quotas code of the 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 code for the originating service.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
Service quotas code of the 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 code for the 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 code of the originating quota.
quotaCode
- Service quotas code of the originating quota.public String getQuotaCode()
Service quotas code of the originating quota.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
Service quotas code of the originating quota.
quotaCode
- Service quotas code of the 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 code for the originating service.
serviceCode
- Service quotas code for the originating service.public String getServiceCode()
Service quotas code for the originating service.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
Service quotas code for the originating service.
serviceCode
- Service quotas code for the originating service.