Class TrackingEventErrorInfo

java.lang.Object
com.azure.resourcemanager.logic.models.TrackingEventErrorInfo

public final class TrackingEventErrorInfo extends Object
The tracking event error info.
  • Constructor Details

    • TrackingEventErrorInfo

      public TrackingEventErrorInfo()
      Creates an instance of TrackingEventErrorInfo class.
  • Method Details

    • message

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

      public TrackingEventErrorInfo withMessage(String message)
      Set the message property: The message.
      Parameters:
      message - the message value to set.
      Returns:
      the TrackingEventErrorInfo object itself.
    • code

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

      public TrackingEventErrorInfo withCode(String code)
      Set the code property: The code.
      Parameters:
      code - the code value to set.
      Returns:
      the TrackingEventErrorInfo object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.