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.
(..) - They're at the altar. - . - Mother Fletcher! He already said it. - Oh, for the love of Pete! - I object! - Shrek? - Oh, now what does he want? Hi, everyone. (..)2001 Shrek
(..) - What are you talking about? There's a line you gotta wait for. The preacher's gonna say, ''Speak now or forever hold your peace.'' - That's when you say, ''I object!'' - I don't have time for this! Wait. What are you doing? Listen to me! - Look, you love this woman, don't you? - Yes. (..)2001 Shrek