@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSMainframeModernizationException
One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
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 identifier of the exceeded quota.
|
String |
getResourceId()
The ID of the resource that is exceeding the quota limit.
|
String |
getResourceType()
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
|
String |
getServiceCode()
A code that identifies the service that the exceeded quota belongs to.
|
void |
setQuotaCode(String quotaCode)
The identifier of the exceeded quota.
|
void |
setResourceId(String resourceId)
The ID of the resource that is exceeding the quota limit.
|
void |
setResourceType(String resourceType)
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
|
void |
setServiceCode(String serviceCode)
A code that identifies the service that the exceeded quota belongs to.
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
The identifier of the exceeded quota.
|
ServiceQuotaExceededException |
withResourceId(String resourceId)
The ID of the resource that is exceeding the quota limit.
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
A code that identifies the service that the exceeded quota belongs to.
|
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 identifier of the exceeded quota.
quotaCode
- The identifier of the exceeded quota.public String getQuotaCode()
The identifier of the exceeded quota.
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
The identifier of the exceeded quota.
quotaCode
- The identifier of the exceeded quota.public void setResourceId(String resourceId)
The ID of the resource that is exceeding the quota limit.
resourceId
- The ID of the resource that is exceeding the quota limit.public String getResourceId()
The ID of the resource that is exceeding the quota limit.
public ServiceQuotaExceededException withResourceId(String resourceId)
The ID of the resource that is exceeding the quota limit.
resourceId
- The ID of the resource that is exceeding the quota limit.public void setResourceType(String resourceType)
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
resourceType
- The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.public String getResourceType()
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
public ServiceQuotaExceededException withResourceType(String resourceType)
The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.
resourceType
- The type of resource that is exceeding the quota limit for Amazon Web Services Mainframe Modernization.public void setServiceCode(String serviceCode)
A code that identifies the service that the exceeded quota belongs to.
serviceCode
- A code that identifies the service that the exceeded quota belongs to.public String getServiceCode()
A code that identifies the service that the exceeded quota belongs to.
public ServiceQuotaExceededException withServiceCode(String serviceCode)
A code that identifies the service that the exceeded quota belongs to.
serviceCode
- A code that identifies the service that the exceeded quota belongs to.