guarantee some rooms will spawn when generating a dungeon/maze

I'm currently working on a dungeon/maze-like structure, and I'm looking for a way to ensure a certain room is guaranteed to spawn, but only once, similarly to strongholds which hold exactly one portal room and 2 libraries
Continue to help post