A Water Building is any structure that requires water to be placed. Examples include the Fishing Quay and Wharf. However, buildings that can be placed on water features but don’t actually depend on it, such as a Granary on a minor river, are not considered Water Buildings.
Tip: A general rule of thumb is that if a Building can be placed on Coastal or Navigable River tiles, it’s a Water Building.