Create instances using a Provider, and add builder methods to set the parameters. This makes the implementation more consistent with other REST endpoints, and will make it easier to use from the plugin API. Change-Id: I5a4db8917c47c62dc5ce199ecad70c724e4e876c