@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitExceededException extends AmazonDLMException
The request failed because a limit was 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 |
getCode() |
String |
getResourceType()
Value is the type of resource for which a limit was exceeded.
|
void |
setCode(String code) |
void |
setResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
|
LimitExceededException |
withCode(String code) |
LimitExceededException |
withResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
|
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 LimitExceededException(String message)
message - Describes the error encountered.public void setCode(String code)
code - public String getCode()
public LimitExceededException withCode(String code)
code - public void setResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
resourceType - Value is the type of resource for which a limit was exceeded.public String getResourceType()
Value is the type of resource for which a limit was exceeded.
public LimitExceededException withResourceType(String resourceType)
Value is the type of resource for which a limit was exceeded.
resourceType - Value is the type of resource for which a limit was exceeded.