Interface Copy

    • Method Detail

      • waitForCopyResult

        CopyResult waitForCopyResult()
                              throws AmazonClientException,
                                     AmazonServiceException,
                                     InterruptedException
        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.
        InterruptedException - If this thread is interrupted while waiting for the upload to complete.