Class ApiErrorBase

java.lang.Object
com.microsoft.azure.management.compute.ApiErrorBase

public class ApiErrorBase extends Object
Api error base.
  • Constructor Details

    • ApiErrorBase

      public ApiErrorBase()
  • Method Details

    • code

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

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

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

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

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

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