The book's lead character is both an 'object of' desire and an 'object of' pity. [=the lead character is both desired and pitied by other characters in the book]
When they take a vacation, 'money is no object'. [=they don't worry about how much something costs] They always stay at the most expensive places.
If 'cost was/were no object' [=if cost did not matter; if we had enough money] we'd buy a new car instead of fixing the old one.
(..) Dialogue: Marked=..,Default,NTP,!Effect,One of a wizard's most rudimentary\Nskills is levitation... Dialogue: Marked=..,Default,NTP,!Effect,...or the ability to make objects fly. Dialogue: Marked=..,Default,NTP,!Effect,Do you have your feathers? Good. (..)2001 Harry Potter and the Sorcerer's Stone