Class ErrorDefinition

java.lang.Object
com.microsoft.azure.management.resources.ErrorDefinition

public class ErrorDefinition extends Object
Error description and code explaining why resource name is invalid.
  • Constructor Details

    • ErrorDefinition

      public ErrorDefinition()
  • Method Details

    • message

      public String message()
      Get description of the error.
      Returns:
      the message value
    • withMessage

      public ErrorDefinition withMessage(String message)
      Set description of the error.
      Parameters:
      message - the message value to set
      Returns:
      the ErrorDefinition object itself.
    • code

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

      public ErrorDefinition withCode(String code)
      Set code of the error.
      Parameters:
      code - the code value to set
      Returns:
      the ErrorDefinition object itself.