使用CopyObjectRequest从AWS S3 Reduced Redundancy Storage Class转换为Standard会转换大型S3记录的所有段

时间:2017-08-07 20:22:20

标签: amazon-s3

我正在使用com.amazonaws.services.s3.model.CopyObjectRequest 将Reduced Redundancy Storage Class转换为Standard Storage Class:

StorageClass targetStorageClass = StorageClass.Standard;

CopyObjectRequest copyObjectRequest= 
                new CopyObjectRequest(bucket, key, bucket, key)
                .withStorageClass(targetStorageClass);

s3Client.copyObject(copyObjectRequest);

这适用于大型记录的所有片段(> 5G)吗?

0 个答案:

没有答案