How long must I invest for to get a New Zealand Investor visa?

The investor visa carries with it two options:

1. The investor visa – where you intend to make an investment of NZ$ 1.5 million for 4 years
2. The investor plus visa – where you intend to make an investment of NZ$ 10 million for 3 years.