public interface Download extends Transfer
See TransferManager
for more information about creating transfers.
TransferManager#download(com.amazonaws.services.s3.model.GetObjectRequest);
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.
|
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
ObjectMetadata getObjectMetadata()
String getBucketName()
String getKey()
void abort() throws IOException
IOException
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.