Class EC2UnexpectedException

All Implemented Interfaces:
Serializable

public class EC2UnexpectedException extends AmazonServiceException

AWS Lambda received an unexpected EC2 client exception while setting up for the Lambda function.

See Also:
  • Constructor Details

    • EC2UnexpectedException

      public EC2UnexpectedException(String message)
      Constructs a new EC2UnexpectedException with the specified error message.
      Parameters:
      message - Describes the error encountered.
  • Method Details

    • setType

      public void setType(String type)
      Parameters:
      type -
    • getType

      public String getType()
      Returns:
    • withType

      public EC2UnexpectedException withType(String type)
      Parameters:
      type -
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setEC2ErrorCode

      public void setEC2ErrorCode(String eC2ErrorCode)
      Parameters:
      eC2ErrorCode -
    • getEC2ErrorCode

      public String getEC2ErrorCode()
      Returns:
    • withEC2ErrorCode

      public EC2UnexpectedException withEC2ErrorCode(String eC2ErrorCode)
      Parameters:
      eC2ErrorCode -
      Returns:
      Returns a reference to this object so that method calls can be chained together.