@Override
        void run() {
            try {
                InlongTenantRequest request = new InlongTenantRequest();
                request.setName(name);
                ClientUtils.initClientFactory();
                InlongTenantClient tenantClient = ClientUtils.clientFactory.getInlongTenantClient();
                InlongTenantInfo tenantInfo = tenantClient.getTenantByName(name);
                if (tenantInfo == null) {
                    throw new BusinessException(name + " not exist, please check.");
                }
                request.setId(tenantInfo.getId());
                request.setDescription(description);
                request.setVersion(tenantInfo.getVersion());
                if (tenantClient.update(request)) {
                    System.out.println("Update user success!");
                }
            } catch (Exception e) {
                System.out.println(e.getMessage());
            }
        }
The update command used to change the fields of inlong groups.
Please refer to the document for parameters
inlong-manager/manager-client-tools/src/main/java/org/apache/inlong/manager/client/cli/UpdateCommand.java