You can generate getters and setters separately or use one action to generate both methods. Place the caret in your code, and press &shortcut:Generate;. In the Generate window, select Getter and setter.