Class DownloadDirectoryRequest
java.lang.Object
software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest
- All Implemented Interfaces:
TransferDirectoryRequest,TransferRequest,ToCopyableBuilder<DownloadDirectoryRequest.Builder,DownloadDirectoryRequest>
public final class DownloadDirectoryRequest
extends Object
implements TransferDirectoryRequest, ToCopyableBuilder<DownloadDirectoryRequest.Builder,DownloadDirectoryRequest>
Request object to download the objects in the provided S3 bucket to a local directory using the Transfer Manager.
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionDownloadDirectoryRequest(software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest.DefaultBuilder builder) -
Method Summary
Modifier and TypeMethodDescriptionbucket()The name of the bucketbuilder()The destination directory to which files should be downloaded.booleanfilter()inthashCode()static Class<? extends DownloadDirectoryRequest.Builder> Take this object and create a builder that contains all of the current property values of this object.toString()Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Constructor Details
-
DownloadDirectoryRequest
public DownloadDirectoryRequest(software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest.DefaultBuilder builder)
-
-
Method Details
-
destination
The destination directory to which files should be downloaded.- Returns:
- the destination directory
- See Also:
-
bucket
-
filter
- Returns:
- the optional filter, or
DownloadFilter.allObjects()if no filter was provided - See Also:
-
listObjectsRequestTransformer
- Returns:
- the
ListObjectsV2Requesttransformer if not null, otherwise no-op - See Also:
-
downloadFileRequestTransformer
- Returns:
- the upload request transformer if not null, otherwise no-op
- See Also:
-
builder
-
serializableBuilderClass
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<DownloadDirectoryRequest.Builder,DownloadDirectoryRequest> - Returns:
- a builder for type T
-
equals
-
hashCode
-
toString
-