Class ResourceNotFoundException

  • All Implemented Interfaces:
    Serializable

    public class ResourceNotFoundException
    extends AmazonServiceException

    The resource (for example, a Lambda function or access policy statement) specified in the request does not exist.

    See Also:
    Serialized Form
    • Constructor Detail

      • ResourceNotFoundException

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

      • setType

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

        public String getType()
        Returns:
      • withType

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