public void download(final String accountId, final String vaultName, final String archiveId, final File file)
            throws AmazonServiceException, AmazonClientException {
        download(accountId, vaultName, archiveId, file, null);
    }
Downloads an archive from Amazon Glacier in the specified vault in the
specified user's account, and saves it to the specified file. Amazon
Glacier is optimized for long term storage of data that isn't needed
quickly. This method will first make a request to Amazon Glacier to
prepare the archive to be downloaded. Once Glacier has finished preparing
the archive to be downloaded, this method will start downloading the data
and storing it in the specified file.

@param accountId
           The ID for the account which owns the Glacier vault where the
           archive is being downloaded from. To use the same account the
           developer is using to make requests to AWS, the value
           <code>"-"</code> can be used instead of the full account ID.
@param vaultName
           The name of the vault to download the archive from.
@param archiveId
           The unique ID of the archive to download.
@param file
          The file in which to save the archive.

@throws AmazonServiceException
            If any problems were encountered while communicating with
            AWS.
@throws AmazonClientException
            If any problems were encountered inside the AWS SDK for Java
            client code in making requests or processing responses from
            AWS.
aws-java-sdk-glacier/src/main/java/com/amazonaws/services/glacier/transfer/ArchiveTransferManager.java