public List<eu.mosaic.cloud.driver.Repository> getRepositories() throws eu.mosaic.cloud.driver.DriverApiException {
List<Repository> repos = new ArrayList<Repository>();
List<Bucket> buckets = listBuckets();
for (Bucket crtBucket : buckets) {
Repository newRep = new AmazonRepository();
newRep.setCreationDate(crtBucket.getCreationDate());
newRep.setName(crtBucket.getName());
repos.add(newRep);
}
return (List<Repository>) repos;
}