aws-sdk-java icon indicating copy to clipboard operation
aws-sdk-java copied to clipboard

MultipleFileDownload does not provide a getSubTransfers() method

Open c-n-d opened this issue 10 years ago • 2 comments

Hi Team,

The MultipleFileUpload interface defines a method for accessing the underlying transfers:

public Collection<? extends Upload> getSubTransfers();

getSubTransfers() is implemented by MultipleFileUploadImpl:

public Collection<? extends Upload> getSubTransfers() {
    return Collections.unmodifiableCollection(subTransfers);
}

MultipleFileDownload does not seem to define an analogous method. Is it possible to otherwise access the SubTransfers of MultipleFileDownload and if not, would it be possible to add getSubTransfers() to MultipleFileDownload?

public Collection<? extends Download> getSubTransfers();

Is there a recommended way of accessing the SubTransfers of MultipleFileDownload (specifically key and version of each downloaded object)?

c-n-d avatar Jul 22 '16 21:07 c-n-d

Thanks for the feature request, if others up-vote this one we can raise the priority.

kiiadi avatar Aug 05 '16 19:08 kiiadi

Hi @c-n-d, the SDK team has reviewed the feature request list for V1, and since they're concentrating efforts on V2 new features they decided to not implement this one in V1. It's still being considered for the TransferManager refactor in V2, see the referenced issue above. I'll go ahead and close this.

Please feel free to comment on the V2 issue with your use case, and reach out if you have further questions.

debora-ito avatar Jul 18 '19 22:07 debora-ito