@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInputException extends AmazonInspectorException
The request was rejected because an invalid or out-of-range value was supplied for an input parameter.
AmazonServiceException.ErrorType| Constructor and Description |
|---|
InvalidInputException(String message)
Constructs a new InvalidInputException 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(InvalidInputErrorCode 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.
|
InvalidInputException |
withCanRetry(Boolean canRetry)
You can immediately retry your request.
|
InvalidInputException |
withInspectorErrorCode(InvalidInputErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
|
InvalidInputException |
withInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
|
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 InvalidInputException(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 InvalidInputException 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.InvalidInputErrorCodepublic String getInspectorErrorCode()
Code that indicates the type of error that is generated.
InvalidInputErrorCodepublic InvalidInputException withInspectorErrorCode(String inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode - Code that indicates the type of error that is generated.InvalidInputErrorCodepublic void setInspectorErrorCode(InvalidInputErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode - Code that indicates the type of error that is generated.InvalidInputErrorCodepublic InvalidInputException withInspectorErrorCode(InvalidInputErrorCode inspectorErrorCode)
Code that indicates the type of error that is generated.
inspectorErrorCode - Code that indicates the type of error that is generated.InvalidInputErrorCode