<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _BuildEventData(self, record):
 """Builds an FseventsdData object from a parsed structure. Args: record (dls_record_v1|dls_record_v2):
 parsed record structure. Returns: FseventsdEventData: event data attribute container. """

    event_data = FseventsdEventData()
    event_data.path = record.path
    event_data.flags = record.event_flags
    event_data.event_identifier = record.event_identifier
    # Node identifier is only set in DLS V2 records.
    event_data.node_identifier = getattr(record, 'node_identifier', None)

    return event_data