@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSGreengrassV2Exception
Your request exceeds a service quota. For example, you might have the maximum number of components that you can create.
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 code for the quota in Service
Quotas.
|
String |
getResourceId()
The ID of the resource that exceeds the service quota.
|
String |
getResourceType()
The type of the resource that exceeds the service quota.
|
String |
getServiceCode()
The code for the service in Service Quotas.
|
void |
setQuotaCode(String quotaCode)
The code for the quota in Service
Quotas.
|
void |
setResourceId(String resourceId)
The ID of the resource that exceeds the service quota.
|
void |
setResourceType(String resourceType)
The type of the resource that exceeds the service quota.
|
void |
setServiceCode(String serviceCode)
The code for the service in Service Quotas.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The code for the quota in Service
Quotas.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource that exceeds the service quota.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of the resource that exceeds the service quota.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
The code for the service in Service Quotas.
|
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 setResourceId(String resourceId)
The ID of the resource that exceeds the service quota.
resourceId
- The ID of the resource that exceeds the service quota.public String getResourceId()
The ID of the resource that exceeds the service quota.
public ServiceQuotaExceededException withResourceId(String resourceId)
The ID of the resource that exceeds the service quota.
resourceId
- The ID of the resource that exceeds the service quota.public void setResourceType(String resourceType)
The type of the resource that exceeds the service quota.
resourceType
- The type of the resource that exceeds the service quota.public String getResourceType()
The type of the resource that exceeds the service quota.
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of the resource that exceeds the service quota.
resourceType
- The type of the resource that exceeds the service quota.public void setQuotaCode(String quotaCode)
The code for the quota in Service Quotas.
quotaCode
- The code for the quota in Service Quotas.public String getQuotaCode()
The code for the quota in Service Quotas.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The code for the quota in Service Quotas.
quotaCode
- The code for the quota in Service Quotas.public void setServiceCode(String serviceCode)
The code for the service in Service Quotas.
serviceCode
- The code for the service in Service Quotas.public String getServiceCode()
The code for the service in Service Quotas.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
The code for the service in Service Quotas.
serviceCode
- The code for the service in Service Quotas.