我正在使用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)吗?