The health minister has said he does not support mandatory vaccinations in Northern Ireland.