@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LimitExceededException extends AmazonInspectorException
The request was rejected because it attempted to create resources beyond the current AWS account limits. The error code describes the limit exceeded.
AmazonServiceException.ErrorType
Constructor and Description |
---|
LimitExceededException(String message)
Constructs a new LimitExceededException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
Boolean |
getCanRetry()
You can immediately retry your request.
|
String |
getInspectorErrorCode()
Code that indicates the type of error that is generated.
|
Boolean |
isCanRetry()
You can immediately retry your request.
|
void |
setCanRetry(Boolean canRetry)
You can immediately retry your request.
|
void |
setInspectorErrorCode(LimitExceededErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
|
void |
setInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
|
LimitExceededException |
withCanRetry(Boolean canRetry)
You can immediately retry your request.
|
LimitExceededException |
withInspectorErrorCode(LimitExceededErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
|
LimitExceededException |
withInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
|
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setHttpHeaders, 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 setCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public Boolean getCanRetry()
You can immediately retry your request.
public LimitExceededException withCanRetry(Boolean canRetry)
You can immediately retry your request.
canRetry
- You can immediately retry your request.public Boolean isCanRetry()
You can immediately retry your request.
public void setInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.LimitExceededErrorCode
public String getInspectorErrorCode()
Code that indicates the type of error that is generated.
LimitExceededErrorCode
public LimitExceededException withInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.LimitExceededErrorCode
public void setInspectorErrorCode(LimitExceededErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.LimitExceededErrorCode
public LimitExceededException withInspectorErrorCode(LimitExceededErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode
- Code that indicates the type of error that is generated.LimitExceededErrorCode
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.