Most foreign buyers make this decision last, by accepting whatever the developer happened to structure. It sets your term, your costs, whether you may let it and what a future buyer is actually buying, so it is worth making first.
Three structures. One of them fits you better than the other two.
Leasehold, Hak Pakai and HGB through a PT PMA are all legitimate, and they are not interchangeable. The wrong one costs you either money you did not need to spend or a term you cannot get back.
A foreign national cannot hold Hak Milik, Indonesian freehold. Not through a nominee, not through a trusted local, not through an arrangement your own lawyer would call a trust. Nominee structures are void under Indonesian law and the courts have said so; when one fails, the asset belongs to the name on the certificate. Everything below is a way of holding something that is not freehold.
Leasehold is the cheapest and quickest: a fixed term over the land from an Indonesian owner, with an extension written into the contract. Its weakness is that the extension is a promise from a person, not a right from the state. Hak Pakai is a right of use held by you personally, thirty years and extendable, with no company to keep alive, but it is available only while you hold a valid Indonesian residence permit, and letting it short-stay is restricted. HGB through a PT PMA is the strongest position open to a foreign buyer, and the most work: six to ten weeks to incorporate, and filings for as long as you hold it.
This is a distinct question from which development to buy. Find what fits takes your brief and shortlists developments; this takes the same answers and names the shape you should hold one in. Do this one first. It narrows what is worth looking at, and it is the decision that is expensive to reverse.
One figure to check before you act on any of it: the minimum paid-up capital for a PT PMA is IDR 2.5 billion, not the IDR 10 billion most guidance still quotes, and the glossary entry has the regulation and the test it is confused with.
Put the brochure's nightly rate and occupancy in. Watch commission, running costs and the final tax on gross rent take it apart, line by line.
BPHTB, notary, diligence, company setup, furnishing, then what it costs you every year, which nobody quotes. Every line explained and totalled.
A lease is a wasting asset and it does not waste in a straight line. Drag the years and watch where the value actually goes.