Java com.amazonaws.services.s3.transfer Upload fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.s3.transfer Upload fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.s3.transfer Upload.

The text is from its open source code.

Method

voidabort()
Abort the current upload operation.
voidaddProgressListener(ProgressListener listener)
Adds the specified progress listener to the list of listeners receiving updates about this transfer's progress.
StringgetDescription()
Returns a human-readable description of this transfer.
TransferProgressgetProgress()
Returns progress information about this transfer.
TransferStategetState()
Returns the current state of this transfer.
booleanisDone()
Returns whether or not the transfer is finished (i.e.
voidwaitForCompletion()
Waits for this transfer to complete.
AmazonClientExceptionwaitForException()
Waits for this transfer to finish and returns any error that occurred, or returns null if no errors occurred.
UploadResultwaitForUploadResult()
Waits for this upload to complete and returns the result of this upload.