Spotlight hogs (7)
'spotlight hogs' is the definition.
(I've seen this in another clue)
This is the entire clue.
(Other definitions for hams that I've seen before include "Poor actors" , "Sit on such" , "inept performers" , "Overacts (colloq.)" .)
(Another definition for egoists that I've seen is " Selfish, vain types".)