public static AthenzResourceName fromString(String resourceName) {
        String[] split = resourceName.split(":");
        if (split.length != 2 || split[0].isEmpty() || split[1].isEmpty()) {
            throw new IllegalArgumentException("Invalid resource name: " + resourceName);
        }
        return new AthenzResourceName(split[0], split[1]);
    }
@param resourceName A resource name string on format 'domain:entity'
@return the parsed resource name
vespa-athenz/src/main/java/com/yahoo/vespa/athenz/api/AthenzResourceName.java