<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def SetFlushInterval(self, flush_interval):
 """Set the flush interval. Args: flush_interval (int):
 number of events to buffer before doing a bulk insert. """

    self._flush_interval = flush_interval
    logger.debug('Elasticsearch flush interval: {0:d}'.format(flush_interval))