A special Lagrangian type equation for holomorphic line bundles