Class TrackingEventErrorInfo
java.lang.Object
com.azure.resourcemanager.logic.models.TrackingEventErrorInfo
The tracking event error info.
-
Constructor Summary
ConstructorDescriptionCreates an instance of TrackingEventErrorInfo class. -
Method Summary
Modifier and TypeMethodDescriptioncode()
Get the code property: The code.message()
Get the message property: The message.void
validate()
Validates the instance.Set the code property: The code.withMessage
(String message) Set the message property: The message.
-
Constructor Details
-
TrackingEventErrorInfo
public TrackingEventErrorInfo()Creates an instance of TrackingEventErrorInfo class.
-
-
Method Details
-
message
Get the message property: The message.- Returns:
- the message value.
-
withMessage
Set the message property: The message.- Parameters:
message
- the message value to set.- Returns:
- the TrackingEventErrorInfo object itself.
-
code
Get the code property: The code.- Returns:
- the code value.
-
withCode
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.
-