com.amazonaws.services.s3.transfer
Interface Copy
- All Superinterfaces:
- Transfer
Deprecated. These classes have been deprecated, please use the classes in the com.amazonaws.mobileconnectors namespace.
public interface Copy
- extends Transfer
Represents an asynchronous copy request from one Amazon S3 location another.
See TransferManager
for more information about creating transfers.
- See Also:
TransferManager.copy(String, String, String, String)
,
TransferManager.copy(com.amazonaws.services.s3.model.CopyObjectRequest)
Method Summary |
CopyResult |
waitForCopyResult()
Deprecated. Waits for the copy request to complete and returns the result of this
request. |
waitForCopyResult
CopyResult waitForCopyResult()
throws AmazonClientException,
AmazonServiceException,
java.lang.InterruptedException
- Deprecated.
- Waits for the copy request to complete and returns the result of this
request. Be prepared to handle errors when calling this method. Any
errors that occurred during the asynchronous transfer will be re-thrown
through this method.
- Returns:
- The result of this transfer.
- Throws:
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.
Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.