The amount of time you have immunity could depend on which vaccine you have received but as yet it is too early to say.  Repeat vaccinations may be necessary once researchers have finished their studies.