public interface Copy extends Transfer
See TransferManager
for more information about creating transfers.
TransferProgress.getBytesTransferred()
will not be accurate until
the copy is complete.Transfer.TransferState
Modifier and Type | Method and Description |
---|---|
CopyResult |
waitForCopyResult()
Waits for the copy request to complete and returns the result of this
request.
|
addProgressListener, addProgressListener, getDescription, getProgress, getState, isDone, removeProgressListener, removeProgressListener, waitForCompletion, waitForException
CopyResult waitForCopyResult() throws AmazonClientException, AmazonServiceException, 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.InterruptedException
- If this thread is interrupted while waiting for the upload to
complete.Copyright © 2022. All rights reserved.