@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitExceededException extends AmazonRoute53ResolverException
The request caused one or more limits to be exceeded.
AmazonServiceException.ErrorType
Constructor and Description |
---|
LimitExceededException(String message)
Constructs a new LimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getResourceType()
For a
LimitExceededException error, the type of resource that exceeded the current limit. |
void |
setResourceType(String resourceType)
For a
LimitExceededException error, the type of resource that exceeded the current limit. |
LimitExceededException |
withResourceType(String resourceType)
For a
LimitExceededException error, the type of resource that exceeded the current limit. |
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 LimitExceededException(String message)
message
- Describes the error encountered.public void setResourceType(String resourceType)
For a LimitExceededException
error, the type of resource that exceeded the current limit.
resourceType
- For a LimitExceededException
error, the type of resource that exceeded the current limit.public String getResourceType()
For a LimitExceededException
error, the type of resource that exceeded the current limit.
LimitExceededException
error, the type of resource that exceeded the current limit.public LimitExceededException withResourceType(String resourceType)
For a LimitExceededException
error, the type of resource that exceeded the current limit.
resourceType
- For a LimitExceededException
error, the type of resource that exceeded the current limit.