public static String checkType(String clusterType) {
        if (TYPE_SET.contains(clusterType)) {
            return clusterType;
        }
        throw new BusinessException(String.format("Unsupported cluster type=%s,"
                + " supported cluster types are: %s", clusterType, TYPE_SET));
    }
Check whether the cluster type is supported

@param clusterType cluster type
@return cluster type
inlong-manager/manager-common/src/main/java/org/apache/inlong/manager/common/enums/ClusterType.java