How to programatically update Actions on Save settings?

Im working on a plugin for IntelliJ, is there a way to programatically enable/disable actions on save?

Tools → Actions on Save:

-Reformat Code
-Optimize Imports
-Run Code Cleanup

What we want to achieve is when our plugin is installed, based on some criteria enable or disable those settings