Class ErrorResponse


  • public class ErrorResponse
    extends java.lang.Object
    A DTO which can be used as an response body if an error occurred.
    See Also:
    AWS REST Error Response
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorResponse()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setCode​(java.lang.String code)  
      void setMessage​(java.lang.String message)  
      void setRequestId​(java.lang.String requestId)  
      void setResource​(java.lang.String resource)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • setCode

        public void setCode​(java.lang.String code)
      • setMessage

        public void setMessage​(java.lang.String message)
      • setResource

        public void setResource​(java.lang.String resource)
      • setRequestId

        public void setRequestId​(java.lang.String requestId)