|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||
java.lang.Objectcom.amazonaws.services.s3.transfer.Transfer
com.amazonaws.services.s3.transfer.Upload
public class Upload
Represents an asynchronous upload to Amazon S3.
See TransferManager for more information about creating transfers.
TransferManager.upload(String, String, java.io.File),
TransferManager.upload(com.amazonaws.services.s3.model.PutObjectRequest)| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.amazonaws.services.s3.transfer.Transfer |
|---|
Transfer.TransferState |
| Method Summary | |
|---|---|
UploadResult |
waitForUploadResult()
Waits for this upload to complete and returns the result of this upload. |
| Methods inherited from class com.amazonaws.services.s3.transfer.Transfer |
|---|
addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, waitForCompletion, waitForException |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public UploadResult waitForUploadResult()
throws AmazonClientException,
AmazonServiceException,
java.lang.InterruptedException
AmazonClientException - If any errors were encountered in the client while making the
request or handling the response.
AmazonServiceException - If any errors occurred in Amazon S3 while processing the
request.
java.lang.InterruptedException - If this thread is interrupted while waiting for the upload to
complete.
|
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||