immunity

ɪˈmjuːnɪti

noun

the ability of an organism to resist a particular infection or toxin by the action of specific antibodies or sensitized white blood cells.

immunity to typhoid seems to have increased spontaneously

resistance to,resilience to,non-susceptibility to,lack of susceptibility to,protection from,ability to fight off,ability to withstand,ability to counteract,defences against,immunization against,inoculation against