Immunity against disease can be either