Class TrackingEvent
java.lang.Object
com.azure.resourcemanager.logic.models.TrackingEvent
The tracking event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionerror()
Get the error property: The error.Get the eventLevel property: The event level.Get the eventTime property: The event time.record()
Get the record property: The record.Get the recordType property: The record type.void
validate()
Validates the instance.withError
(TrackingEventErrorInfo error) Set the error property: The error.withEventLevel
(EventLevel eventLevel) Set the eventLevel property: The event level.withEventTime
(OffsetDateTime eventTime) Set the eventTime property: The event time.withRecord
(Object record) Set the record property: The record.withRecordType
(TrackingRecordType recordType) Set the recordType property: The record type.
-
Constructor Details
-
TrackingEvent
public TrackingEvent()Creates an instance of TrackingEvent class.
-
-
Method Details
-
eventLevel
Get the eventLevel property: The event level.- Returns:
- the eventLevel value.
-
withEventLevel
Set the eventLevel property: The event level.- Parameters:
eventLevel
- the eventLevel value to set.- Returns:
- the TrackingEvent object itself.
-
eventTime
Get the eventTime property: The event time.- Returns:
- the eventTime value.
-
withEventTime
Set the eventTime property: The event time.- Parameters:
eventTime
- the eventTime value to set.- Returns:
- the TrackingEvent object itself.
-
recordType
Get the recordType property: The record type.- Returns:
- the recordType value.
-
withRecordType
Set the recordType property: The record type.- Parameters:
recordType
- the recordType value to set.- Returns:
- the TrackingEvent object itself.
-
record
Get the record property: The record.- Returns:
- the record value.
-
withRecord
Set the record property: The record.- Parameters:
record
- the record value to set.- Returns:
- the TrackingEvent object itself.
-
error
Get the error property: The error.- Returns:
- the error value.
-
withError
Set the error property: The error.- Parameters:
error
- the error value to set.- Returns:
- the TrackingEvent object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-