@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EC2UnexpectedException extends AWSLambdaException
Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
AmazonServiceException.ErrorType| Constructor and Description | 
|---|
| EC2UnexpectedException(String message)Constructs a new EC2UnexpectedException with the specified error message. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getEC2ErrorCode() | 
| String | getType() | 
| void | setEC2ErrorCode(String eC2ErrorCode) | 
| void | setType(String type) | 
| EC2UnexpectedException | withEC2ErrorCode(String eC2ErrorCode) | 
| EC2UnexpectedException | 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 EC2UnexpectedException(String message)
message - Describes the error encountered.public void setType(String type)
type - public String getType()
public EC2UnexpectedException withType(String type)
type - public void setEC2ErrorCode(String eC2ErrorCode)
eC2ErrorCode - public String getEC2ErrorCode()
public EC2UnexpectedException withEC2ErrorCode(String eC2ErrorCode)
eC2ErrorCode - Copyright © 2021. All rights reserved.