Skip to content

Commit 84f9d26

Browse files
authored
Hdavidh/update javadocs tm copy object (#3831)
* Update Transfer Manager copyObject javadocs * Update Transfer Manager copyObject javadocs * Remove unused import - fix Checkstyle error
1 parent 02c678c commit 84f9d26

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

services-custom/s3-transfer-manager/src/main/java/software/amazon/awssdk/transfer/s3/S3TransferManager.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515

1616
package software.amazon.awssdk.transfer.s3;
1717

18-
import java.util.Map;
1918
import java.util.concurrent.CompletableFuture;
2019
import java.util.concurrent.Executor;
2120
import java.util.function.Consumer;
@@ -614,11 +613,12 @@ default DirectoryDownload downloadDirectory(Consumer<DownloadDirectoryRequest.Bu
614613
/**
615614
* Creates a copy of an object that is already stored in S3 in the same region.
616615
* <p>
617-
* Under the hood, {@link S3TransferManager} will intelligently use plain {@link CopyObjectRequest}s for smaller objects, or
618-
* multiple parallel {@link UploadPartCopyRequest}s for larger objects. This behavior can be configured via
616+
* Depending on the underlying S3Client, {@link S3TransferManager} may intelligently use plain {@link CopyObjectRequest}s
617+
* for smaller objects, and multiple parallel {@link UploadPartCopyRequest}s for larger objects. If multipart copy is
618+
* supported by the underlying S3Client, this behavior can be configured via
619619
* {@link S3CrtAsyncClientBuilder#minimumPartSizeInBytes(Long)}. Note that for multipart copy request, existing metadata
620-
* stored in the source object is NOT copied to the destination object; if required, you can retrieve the metadata
621-
* from the source object and set it explicitly in the {@link CopyObjectRequest.Builder#metadata(Map)}.
620+
* stored in the source object is NOT copied to the destination object; if required, you can retrieve the metadata from the
621+
* source object and set it explicitly in the @link CopyObjectRequest.Builder#metadata(Map)}.
622622
*
623623
* <p>
624624
* While this API supports {@link TransferListener}s, they will not receive {@code bytesTransferred} callback-updates due to

0 commit comments

Comments
 (0)