public class EC2UnexpectedException extends AmazonServiceException
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
AmazonServiceException.ErrorType
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
eC2ErrorCode |
private static long |
serialVersionUID |
private java.lang.String |
type |
Constructor and Description |
---|
EC2UnexpectedException(java.lang.String message)
Constructs a new EC2UnexpectedException with the specified error message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEC2ErrorCode() |
java.lang.String |
getType() |
void |
setEC2ErrorCode(java.lang.String eC2ErrorCode) |
void |
setType(java.lang.String type) |
EC2UnexpectedException |
withEC2ErrorCode(java.lang.String eC2ErrorCode) |
EC2UnexpectedException |
withType(java.lang.String type) |
getErrorCode, getErrorMessage, getErrorType, getMessage, getRawResponse, getRawResponseContent, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRawResponse, setRawResponseContent, setRequestId, setServiceName, setStatusCode
isRetryable
private static final long serialVersionUID
private java.lang.String type
private java.lang.String eC2ErrorCode
public EC2UnexpectedException(java.lang.String message)
message
- Describes the error encountered.public void setType(java.lang.String type)
type
- public java.lang.String getType()
public EC2UnexpectedException withType(java.lang.String type)
type
- public void setEC2ErrorCode(java.lang.String eC2ErrorCode)
eC2ErrorCode
- public java.lang.String getEC2ErrorCode()
public EC2UnexpectedException withEC2ErrorCode(java.lang.String eC2ErrorCode)
eC2ErrorCode
-