SYDNEY, Australia — The Australian airline Qantas Airways has said it will support a flight attendant if she decides to sue the musician Will.i.am of the Black Eyed Peas for defamation after he called her a racist on Twitter and posted her name and photograph.

Will.i.am, a producer and rapper whose real name is William Adams, was on a flight from Brisbane to Sydney on Saturday during his band’s Australian tour when, he said, the flight attendant became overly aggressive in asking him to stow his laptop before landing. After the dispute between the two, federal police officers were called to meet the musician at the gate.

The flight attendant, Will.i.am wrote on Twitter, “clearly aimed all her frustrations only at the people of colour.”