@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class InvalidInputException extends AmazonLightsailException
Lightsail throws this exception when user input does not conform to the validation rules of an input field.
Domain and distribution APIs are only available in the N. Virginia (us-east-1
) AWS Region. Please set
your AWS Region configuration to us-east-1
to create, view, or edit these resources.
AmazonServiceException.ErrorType
Constructor and Description |
---|
InvalidInputException(String message)
Constructs a new InvalidInputException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
String |
getCode() |
String |
getDocs() |
String |
getTip() |
void |
setCode(String code) |
void |
setDocs(String docs) |
void |
setTip(String tip) |
InvalidInputException |
withCode(String code) |
InvalidInputException |
withDocs(String docs) |
InvalidInputException |
withTip(String tip) |
getErrorCode, getErrorMessage, getErrorType, getHttpHeaders, getMessage, getProxyHost, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, 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 setCode(String code)
code
- public String getCode()
public InvalidInputException withCode(String code)
code
- public void setDocs(String docs)
docs
- public String getDocs()
public InvalidInputException withDocs(String docs)
docs
- public void setTip(String tip)
tip
- public String getTip()
public InvalidInputException withTip(String tip)
tip
-