public interface DownloadFilter extends Predicate<S3Object>
DownloadFilter allows you to filter out which objects should be downloaded as part of a DownloadDirectoryRequest. You could use it, for example, to only download objects of a given size, of a given file extension,
of a given last-modified date, etc. Multiple DownloadFilters can be composed together via Predicate.and(Predicate) and
Predicate.or(Predicate) methods.| Modifier and Type | Method and Description |
|---|---|
static DownloadFilter |
allObjects()
A
DownloadFilter that downloads all objects. |
boolean |
test(S3Object s3Object)
Evaluate condition the remote
S3Object should be downloaded. |
static DownloadFilter allObjects()
DownloadFilter that downloads all objects. This is the default behavior if no filter is provided.Copyright © 2023. All rights reserved.