@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidRequestException extends AWSBackupException
Indicates that something is wrong with the input to the request. For example, a parameter is of the wrong type.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| InvalidRequestException(String message)Constructs a new InvalidRequestException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getCode() | 
| String | getContext() | 
| String | getType() | 
| void | setCode(String code) | 
| void | setContext(String context) | 
| void | setType(String type) | 
| InvalidRequestException | withCode(String code) | 
| InvalidRequestException | withContext(String context) | 
| InvalidRequestException | withType(String type) | 
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 InvalidRequestException(String message)
message - Describes the error encountered.public void setCode(String code)
code - public String getCode()
public InvalidRequestException withCode(String code)
code - public void setType(String type)
type - public String getType()
public InvalidRequestException withType(String type)
type - public void setContext(String context)
context - public String getContext()
public InvalidRequestException withContext(String context)
context -