* @param client ES cluster to be used for calls
*/
public SourceClientESClient(Client client) {
this.client = client;
Settings settings = ImmutableSettings.Builder.EMPTY_SETTINGS;
SettingsFilter settingsFilter = new SettingsFilter(settings);
RestController controller = new RestController(settings);
healthAction = new RestClusterHealthAction(settings, client, controller);
stateAction = new RestClusterStateAction(settings, client, controller, settingsFilter);
nodesInfoAction = new RestNodesInfoAction(settings, client, controller, settingsFilter);
nodesStatsAction = new RestNodesStatsAction(settings, client, controller);