}
public void download(final String vaultName, final String archiveId, final File targetFile) {
log.info("Downloading archive " + archiveId + " from vault " + vaultName + "...");
final ArchiveTransferManager atm = new ArchiveTransferManager(client, sqs, sns);
atm.download(vaultName, archiveId, targetFile);
log.info("Archive downloaded to " + targetFile);
}
@Override
public void exec(OptionSet options, GlacierUploaderOptionParser optionParser) {