Class ErrorDetails

java.lang.Object
com.microsoft.azure.management.network.ErrorDetails

public class ErrorDetails extends Object
Common error details representation.
  • Constructor Details

    • ErrorDetails

      public ErrorDetails()
  • Method Details

    • code

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

      public ErrorDetails withCode(String code)
      Set error code.
      Parameters:
      code - the code value to set
      Returns:
      the ErrorDetails object itself.
    • target

      public String target()
      Get error target.
      Returns:
      the target value
    • withTarget

      public ErrorDetails withTarget(String target)
      Set error target.
      Parameters:
      target - the target value to set
      Returns:
      the ErrorDetails object itself.
    • message

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

      public ErrorDetails withMessage(String message)
      Set error message.
      Parameters:
      message - the message value to set
      Returns:
      the ErrorDetails object itself.