class GoogleStorageWebsiteDistributionConfiguration implements DistributionConfiguration, Index {

    @Override
    public DescriptiveUrlBag toUrl(final Path file) {
        final Distribution distribution = new Distribution(URI.create(String.format("%s://%s.%s",
            Distribution.DOWNLOAD.getScheme(), containerService.getContainer(file).getName(), this.getHostname())),
            Distribution.DOWNLOAD, false);
        distribution.setUrl(URI.create(String.format("%s://%s.%s", Distribution.DOWNLOAD.getScheme(), containerService.getContainer(file).getName(),
            this.getHostname())));
        return new DistributionUrlProvider(distribution).toUrl(file);
    }

    public  GoogleStorageWebsiteDistributionConfiguration(final GoogleStorageSession session);

}