Create Record
Let IntelliJ IDEA support you in creating a new Java record class.
Create a new record by pressing ⌘N (macOS) / Alt+Insert (Windows/Linux) on the Project Window. From the New Java Class dialog, type the name of the record and select the Record type.