class InstanceCoordinate {

    public static InstanceCoordinate parse(final String string) {
        if (string == null) {
            return null;
        }
        final Matcher matcher = COORDINATE_PATTERN.matcher(string);
        if (!matcher.matches()) {
            return null;
        }
        final String[] path = new String[] {
                matcher.group(4), matcher.group(3), matcher.group(2), matcher.group(1)
        };
        return new InstanceCoordinate(new CloudnamePath(path));
    }

      InstanceCoordinate(final CloudnamePath path);

}