public Map<ClusterSpec.Id, ZoneEndpoint> zoneEndpoints(ZoneId zone) {
        return zoneEndpoints.keySet().stream()
                            .collect(Collectors.toMap(cluster -> cluster,
                                                      cluster -> zoneEndpoint(zone, cluster).orElse(ZoneEndpoint.defaultEndpoint)));
    }
The zone endpoints in the given zone, possibly default values.
config-model-api/src/main/java/com/yahoo/config/application/api/DeploymentInstanceSpec.java