public interface Copy extends Transfer
TransferManager for more information about creating transfers.
TransferProgress.getBytesTransferred()will not be accurate until the copy is complete.
|Modifier and Type||Method and Description|
Waits for the copy request to complete and returns the result of this request.
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.