Class FailedFileDownload
java.lang.Object
software.amazon.awssdk.transfer.s3.model.FailedFileDownload
- All Implemented Interfaces:
FailedObjectTransfer,ToCopyableBuilder<FailedFileDownload.Builder,FailedFileDownload>
@SdkPublicApi
public final class FailedFileDownload
extends Object
implements FailedObjectTransfer, ToCopyableBuilder<FailedFileDownload.Builder,FailedFileDownload>
Represents a failed single file download from
S3TransferManager.downloadDirectory(DownloadDirectoryRequest). It
has a detailed description of the result.-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic FailedFileDownload.Builderbuilder()booleanThe exception thrown from a specific single file transferinthashCode()request()The request for the failed download.static Class<? extends FailedFileDownload.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
-
Method Details
-
exception
Description copied from interface:FailedObjectTransferThe exception thrown from a specific single file transfer- Specified by:
exceptionin interfaceFailedObjectTransfer- Returns:
- the exception thrown
-
request
The request for the failed download.If the object's key can't be mapped to a path inside the destination directory (for example, its relative path resolves outside the destination directory, or it isn't a valid path on the destination's file system), nothing is downloaded for it, and
exception()names the key and the reason. In that case,request().destination()is a placeholder path under the destination directory that does not exist and is not written by the SDK. This request isn't meant to be retried as is, and the destination directory must not be deleted to clean up after it. The object's key is available fromrequest().getObjectRequest().key().- Specified by:
requestin interfaceFailedObjectTransfer- Returns:
- the failed request
-
equals
-
hashCode
-
toString
-
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<FailedFileDownload.Builder,FailedFileDownload> - Returns:
- a builder for type T
-