@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInputException extends AmazonMacieException
(Discontinued) 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 |
---|---|
String |
getErrorCode() |
String |
getFieldName() |
void |
setErrorCode(String errorCode) |
void |
setFieldName(String fieldName) |
InvalidInputException |
withErrorCode(String errorCode) |
InvalidInputException |
withFieldName(String fieldName) |
getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorMessage, setErrorType, setHttpHeaders, setProxyHost, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidInputException(String message)
message
- Describes the error encountered.public void setErrorCode(String errorCode)
setErrorCode
in class AmazonServiceException
errorCode
- public String getErrorCode()
getErrorCode
in class AmazonServiceException
public InvalidInputException withErrorCode(String errorCode)
errorCode
- public void setFieldName(String fieldName)
fieldName
- public String getFieldName()
public InvalidInputException withFieldName(String fieldName)
fieldName
- Copyright © 2022. All rights reserved.