Class ErrorResponse


  • public class ErrorResponse
    extends Object
    Error reponse indicates ARM is not able to process the incoming request. The reason is provided in the error message.
    • Constructor Detail

      • ErrorResponse

        public ErrorResponse()
    • Method Detail

      • httpStatus

        public String httpStatus()
        Get the httpStatus value.
        Returns:
        the httpStatus value
      • withHttpStatus

        public ErrorResponse withHttpStatus​(String httpStatus)
        Set the httpStatus value.
        Parameters:
        httpStatus - the httpStatus value to set
        Returns:
        the ErrorResponse object itself.
      • errorCode

        public String errorCode()
        Get the errorCode value.
        Returns:
        the errorCode value
      • withErrorCode

        public ErrorResponse withErrorCode​(String errorCode)
        Set the errorCode value.
        Parameters:
        errorCode - the errorCode value to set
        Returns:
        the ErrorResponse object itself.
      • errorMessage

        public String errorMessage()
        Get the errorMessage value.
        Returns:
        the errorMessage value
      • withErrorMessage

        public ErrorResponse withErrorMessage​(String errorMessage)
        Set the errorMessage value.
        Parameters:
        errorMessage - the errorMessage value to set
        Returns:
        the ErrorResponse object itself.