"has the meaning ascribed to it by section 3 of the Act as follows: meaning of building—

(1) In this Act, unless the context otherwise requires, the term building” means any temporary or permanent movable or immovable structure (including any structure intended for occupation by people, animals, machinery, or chattels); and includes any mechanical, electrical, or other systems, and any utility systems, attached to and forming part of the structure whose proper operation is necessary for compliance with the building code; but does not include: 
(a) systems owned or operated by a network utility operator for the purpose of reticulation of other property; or 
(b) cranes, including any cranes as defined in any regulations in force under the Health and Safety in Employment Act 1992; or 
(c) cablecars, cableways, ski tows, and other similar stand alone machinery systems, whether or not incorporated within any other structure; or
(d) any description of vessel, boat, ferry, or craft used in navigation, whether or not it has any means of propulsion, and regardless of that means; nor does it include— 
(i) a barge, lighter, or other like vessel: 
(ii) a hovercraft or other thing deriving full or partial support in the atmosphere from the reactions of air against the surface of the water over which it operates: 
(iii) a submarine or other thing used in navigation while totally submerged; or (
e) vehicles and motor vehicles (including vehicles and motor vehicles as defined in section 2(1) of the Transport Act 1962 and section 2(1) of the Transport (Vehicle and Driver Registration and Licensing) Act 1986), but not including vehicles and motor vehicles, whether movable or immovable, which are used exclusively for permanent or long-term residential purposes; or (ea) aircraft, including any machine that can derive support in the atmosphere from the reactions of the air otherwise than by the reactions of the air against the surface of the earth; or 
(f) containers as defined in section 2(1) of the Hazardous Substances and New Organisms Act 1996; or 
(g) magazines as defined in section 2 of the Explosives Act 1957; or 
(h) scaffolding used in the course of the construction process; or (i) falsework used in the course of the construction process. 
(2) For the purposes of Part 9 of this Act, a building consent, a code compliance certificate, and a compliance schedule the term building also includes— 
(a) any part of a building; and 
(b) any 2 or more buildings which, on completion of any building work, are intended to be managed as 1 building with a common use and a common set of ownership arrangements. 
(3) For the purposes of subclause (2) of this definition, where any utility system or any part of any utility system— 
(a) is external to the building; and 
(b) is also connected to or is intended to be connected to— 
(i) a network under the control of a network utility operator; or 
(ii) some other facility which is able to provide for the successful functioning of the utility system in accordance with its intended design— that utility system or that part of the utility system shall be deemed to be part of a building. 
(4) Notwithstanding the provisions of subclause (3) of this definition, where a septic tank is connected to a building utility system the septic tank shall be deemed to form part of that building utility system.

» Building Code Definitions