The original object's metadata is retained, but to apply an access control setting other than private you must specify an ACL in the destination object.
This method cannot be performed by anonymous services. You must have write access to the source object and write access to the bucket. @param bucketName the name of the bucket containing the original object that will be copied. @param sourceObjectKey the key name of the original object. @param destinationObject the object that will be created by the rename operation. If this item includes an AccessControlList setting the copied object will be assigned that ACL, otherwise the copied object will be assigned the default private ACL setting. @return a map of the header and result information returned by S3 after the object copy. The map includes the object's MD5 hash value (ETag), its size (Content-Length), and update timestamp (Last-Modified). If the object was successfully copied but the original could not be deleted, the map will also include an item named "DeleteException" with the exception thrown by the delete operation. @throws S3ServiceException
|
|
|
|