public final class DownloadFileRequest extends Object implements TransferObjectRequest, ToCopyableBuilder<DownloadFileRequest.Builder,DownloadFileRequest>
DownloadRequest instead.| Modifier and Type | Class and Description |
|---|---|
static interface |
DownloadFileRequest.Builder
A builder for a
DownloadFileRequest, created with builder() |
| Modifier and Type | Method and Description |
|---|---|
static DownloadFileRequest.Builder |
builder()
Creates a builder that can be used to create a
DownloadFileRequest. |
Path |
destination()
The
Path to file that response contents will be written to. |
boolean |
equals(Object o) |
GetObjectRequest |
getObjectRequest() |
int |
hashCode() |
static Class<? extends DownloadFileRequest.Builder> |
serializableBuilderClass() |
DownloadFileRequest.Builder |
toBuilder() |
String |
toString() |
List<TransferListener> |
transferListeners() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic static DownloadFileRequest.Builder builder()
DownloadFileRequest.public DownloadFileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DownloadFileRequest.Builder,DownloadFileRequest>public Path destination()
Path to file that response contents will be written to. The file must not exist or this method
will throw an exception. If the file is not writable by the current user then an exception will be thrown.public GetObjectRequest getObjectRequest()
GetObjectRequest request that should be used for the downloadpublic List<TransferListener> transferListeners()
transferListeners in interface TransferObjectRequestTransferListeners that will be notified as part of this request.public static Class<? extends DownloadFileRequest.Builder> serializableBuilderClass()
Copyright © 2023. All rights reserved.