private Response copy(Action action) { GlusterHookManageParameters params = new GlusterHookManageParameters(guid); if (action.isSetHost()) { validateParameters(action.getHost(), "id|name"); Guid hostId = getHostId(action); params.setSourceServerId(hostId); } return doAction(ActionType.UpdateGlusterHook, params, action); }