func (ci *CreateIndexes) CommandMonitor(monitor *event.CommandMonitor) *CreateIndexes {
	if ci == nil {
		ci = new(CreateIndexes)
	}

	ci.monitor = monitor
	return ci
}
// CommandMonitor sets the monitor to use for APM events.
CommandMonitor sets the monitor to use for APM events.
// CommandMonitor sets the monitor to use for APM events .
func (ci *CreateIndexes) CommandMonitor(monitor *event.CommandMonitor) *CreateIndexes {
	if ci == nil {
		ci = new(CreateIndexes)
	}
	ci.monitor = monitor
	return ci
}
func ( ci * CreateIndexes ) CommandMonitor ( monitor * event . CommandMonitor ) * CreateIndexes { if ci == nil { ci = new ( CreateIndexes ) } ci . monitor = monitor return ci }
CommandMonitor sets the monitor to use for APM events.
CommandMonitor sets the monitor to use for APM events .