private static void printContainerMetadata(StorageMetadata containerMetadata) {
System.out.println(containerMetadata.getName());
printMetadata("ETag", containerMetadata.getETag());
printMetadata("Creation-Date", containerMetadata.getCreationDate());
printMetadata("Last-Modified", containerMetadata.getLastModified());
Location location = containerMetadata.getLocation();
if (location != null) {
printMetadata("Location", location.getId());
}
printMetadata("Provider-ID", containerMetadata.getProviderId());
printMetadata("URI", containerMetadata.getUri());
for (Map.Entry<String, String> entry : containerMetadata.getUserMetadata().entrySet()) {
printMetadata(entry.getKey(), entry.getValue());