@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServiceQuotaExceededException extends AWSSSMIncidentsException
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()
Originating quota code
|
String |
getResourceIdentifier()
The identifier for the requested resource
|
String |
getResourceType()
The resource type
|
String |
getServiceCode()
Originating service code
|
void |
setQuotaCode(String quotaCode)
Originating quota code
|
void |
setResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
|
void |
setResourceType(String resourceType)
The resource type
|
void |
setServiceCode(String serviceCode)
Originating service code
|
ServiceQuotaExceededException |
withQuotaCode(String quotaCode)
Originating quota code
|
ServiceQuotaExceededException |
withResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
|
ServiceQuotaExceededException |
withResourceType(ResourceType resourceType)
The resource type
|
ServiceQuotaExceededException |
withResourceType(String resourceType)
The resource type
|
ServiceQuotaExceededException |
withServiceCode(ServiceCode serviceCode)
Originating service code
|
ServiceQuotaExceededException |
withServiceCode(String serviceCode)
Originating 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 setQuotaCode(String quotaCode)
Originating quota code
quotaCode - Originating quota codepublic String getQuotaCode()
Originating quota code
public ServiceQuotaExceededException withQuotaCode(String quotaCode)
Originating quota code
quotaCode - Originating quota codepublic void setResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
resourceIdentifier - The identifier for the requested resourcepublic String getResourceIdentifier()
The identifier for the requested resource
public ServiceQuotaExceededException withResourceIdentifier(String resourceIdentifier)
The identifier for the requested resource
resourceIdentifier - The identifier for the requested resourcepublic void setResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic String getResourceType()
The resource type
ResourceTypepublic ServiceQuotaExceededException withResourceType(String resourceType)
The resource type
resourceType - The resource typeResourceTypepublic ServiceQuotaExceededException withResourceType(ResourceType resourceType)
The resource type
resourceType - The resource typeResourceTypepublic void setServiceCode(String serviceCode)
Originating service code
serviceCode - Originating service codeServiceCodepublic String getServiceCode()
Originating service code
ServiceCodepublic ServiceQuotaExceededException withServiceCode(String serviceCode)
Originating service code
serviceCode - Originating service codeServiceCodepublic ServiceQuotaExceededException withServiceCode(ServiceCode serviceCode)
Originating service code
serviceCode - Originating service codeServiceCode