public interface Download extends Transfer
 See TransferManager for more information about creating transfers.
 
Transfer.TransferState| Modifier and Type | Method and Description | 
|---|---|
void | 
abort()
Cancels this download. 
 | 
String | 
getBucketName()
The name of the bucket where the object is being downloaded from. 
 | 
String | 
getKey()
The key under which this object was stored in Amazon S3. 
 | 
ObjectMetadata | 
getObjectMetadata()
Returns the ObjectMetadata for the object being downloaded. 
 | 
PersistableDownload | 
pause()
Pause the current download operation and returns the information that can
 be used to resume the download at a later time. 
 | 
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForExceptionObjectMetadata getObjectMetadata()
String getBucketName()
String getKey()
void abort()
    throws IOException
IOExceptionPersistableDownload pause() throws PauseException
CryptoMode.StrictAuthenticatedEncryption would result in
 AmazonClientException as authenticity cannot be guaranteed for a range
 get operation.PauseException - If any errors were encountered while trying to pause the
             download.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.