What is the opposite of instance?

There is no opposite of instance (event, occasion, example).

The opposite of "a single instance" could be a repetition, pattern, or history.