return new InstanceResumingEvent();
case SHUTOFF:
return new InstanceShutOffEvent();
case SHUTTING_DOWN:
return new InstanceShuttingDownEvent();
<BUG>case SNAPSHOTTING:
return new InstanceSnapshottingEvent();</BUG>
case STARTING:
return new InstanceStartingEvent();
case SUSPENDING:

return new InstanceResumingEvent();
case SHUTOFF:
return new InstanceShutOffEvent();
case SHUTTING_DOWN:
return new InstanceShuttingDownEvent();
case STARTING:
return new InstanceStartingEvent();
case SUSPENDING:
