|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Download
Represents an asynchronous download from Amazon S3.
See TransferManager
for more information about creating transfers.
TransferManager#download(com.amazonaws.services.s3.model.GetObjectRequest);
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.amazonaws.services.s3.transfer.Transfer |
---|
Transfer.TransferState |
Method Summary | |
---|---|
void |
abort()
Deprecated. Cancels this download. |
java.lang.String |
getBucketName()
Deprecated. The name of the bucket where the object is being downloaded from. |
java.lang.String |
getKey()
Deprecated. The key under which this object was stored in Amazon S3. |
ObjectMetadata |
getObjectMetadata()
Deprecated. Returns the ObjectMetadata for the object being downloaded. |
PersistableDownload |
pause()
Deprecated. Pause the current download operation and returns the information that can be used to resume the download at a later time. |
Methods inherited from interface com.amazonaws.services.s3.transfer.Transfer |
---|
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException |
Method Detail |
---|
ObjectMetadata getObjectMetadata()
java.lang.String getBucketName()
java.lang.String getKey()
void abort() throws java.io.IOException
java.io.IOException
PersistableDownload 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.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |