@Immutable public class TransferListenerFailedContext extends Object implements TransferListener.Context.TransferFailed, ToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
TransferListener.Context.TransferFailed.TransferListenerContext| Modifier and Type | Class and Description |
|---|---|
static class |
TransferListenerFailedContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransferListenerFailedContext.Builder |
builder() |
Throwable |
exception()
The exception associated with the failed transfer.
|
TransferProgressSnapshot |
progressSnapshot()
The immutable
TransferProgressSnapshot for this specific update. |
TransferObjectRequest |
request()
The
TransferRequest that was submitted to S3TransferManager, i.e., the UploadFileRequest or
DownloadFileRequest. |
TransferListenerFailedContext.Builder |
toBuilder() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic static TransferListenerFailedContext.Builder builder()
public TransferListenerFailedContext.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>public TransferObjectRequest request()
TransferListener.Context.TransferInitiatedTransferRequest that was submitted to S3TransferManager, i.e., the UploadFileRequest or
DownloadFileRequest.request in interface TransferListener.Context.TransferInitiatedpublic TransferProgressSnapshot progressSnapshot()
TransferListener.Context.TransferInitiatedTransferProgressSnapshot for this specific update.progressSnapshot in interface TransferListener.Context.TransferInitiatedpublic Throwable exception()
TransferListener.Context.TransferFailed
Note that this would be the cause of a CompletionException, and not a CompletionException
itself.
exception in interface TransferListener.Context.TransferFailedCopyright © 2023. All rights reserved.