public class EC2UnexpectedException extends AmazonServiceException
AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.
AmazonServiceException.ErrorType
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()
Returns the value of the eC2ErrorCode property for this object.
|
java.lang.String |
getType()
Returns the value of the type property for this object.
|
void |
setEC2ErrorCode(java.lang.String eC2ErrorCode)
Sets the value of eC2ErrorCode
|
void |
setType(java.lang.String type)
Sets the value of type
|
getErrorCode, getErrorMessage, getErrorType, getMessage, getRequestId, getServiceName, getStatusCode, setErrorCode, setErrorMessage, setErrorType, setRequestId, setServiceName, setStatusCode
isRetryable
public EC2UnexpectedException(java.lang.String message)
message
- Describes the error encountered.public java.lang.String getType()
public void setType(java.lang.String type)
type
- The new value for the type property for this object.public java.lang.String getEC2ErrorCode()
public void setEC2ErrorCode(java.lang.String eC2ErrorCode)
eC2ErrorCode
- The new value for the eC2ErrorCode property for this
object.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.