class RunImpl {

    @NotNull
    public static String getRunDetailsUrl(@NotNull final String runId) throws Exception {

        final URIBuilder uriBuilder = getUriBuilder();
        StringBuilder pathString = new StringBuilder()
                .append(API)
                .append(API_VERSION)
                .append(RUN_PATH)
                .append(PATH_SEPARATOR)
                .append(runId);
        uriBuilder.setPath(pathString.toString());
        return uriBuilder.build().toURL().toString();
    }

}