MELBOURNE, Australia — The authorities in Australia have charged a 20-year-old man with the rape and murder of Aiia Maasarwe, an Israeli exchange student who was attacked on a Melbourne street this week.

The man, Codey Herrmann, of the Melbourne suburb of Greensborough, was arrested on Friday afternoon and was charged in the Melbourne Magistrates’ Court on Saturday. He was being held without bail and was scheduled to appear in court again on Monday.

The police allege that Mr. Herrmann, who has been described by local news media as an aspiring rapper, killed Ms. Maasarwe, 21, just after midnight on Wednesday morning.

She had been returning from a night out with friends and was speaking via FaceTime to her sister, who is overseas, on the short walk from a public transportation stop to her home when the attack occurred, the police said.