java.lang.Object
com.microsoft.azure.management.monitor.Error

public class Error extends Object
Error details.
  • Constructor Details

    • Error

      public Error()
  • Method Details

    • code

      public String code()
      Get error code identifying the specific error.
      Returns:
      the code value
    • withCode

      public Error withCode(String code)
      Set error code identifying the specific error.
      Parameters:
      code - the code value to set
      Returns:
      the Error object itself.
    • message

      public String message()
      Get error message in the caller's locale.
      Returns:
      the message value
    • withMessage

      public Error withMessage(String message)
      Set error message in the caller's locale.
      Parameters:
      message - the message value to set
      Returns:
      the Error object itself.