@Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        ClusterSpec that = (ClusterSpec) o;
        return exclusive == that.exclusive &&
               stateful == that.stateful &&
               type == that.type &&
               id.equals(that.id) &&
               groupId.equals(that.groupId) &&
               vespaVersion.equals(that.vespaVersion) &&
               combinedId.equals(that.combinedId) &&
               dockerImageRepo.equals(that.dockerImageRepo) &&
               zoneEndpoint.equals(that.zoneEndpoint);
    }
Creates a ClusterSpec for an existing cluster, group id and Vespa version needs to be set
config-provisioning/src/main/java/com/yahoo/config/provision/ClusterSpec.java