How do you add TimeInterval to GeometryInstances?

I can successfully create and display GeometryInstances (via scene.primitives). How does one add TimeIntervals to GeometryInstances so that GeometryInstances show/hide based on the timeline widget?

I see how to do this with CZML data but how would this be done with the native Cesium API?