@Immutable public final class TransferListenerContext extends Object implements TransferListener.Context.TransferComplete, ToCopyableBuilder<TransferListenerContext.Builder,TransferListenerContext>
TransferListener.Context.TransferComplete and its parent interfaces.TransferListenerFailedContext| Modifier and Type | Class and Description |
|---|---|
static class |
TransferListenerContext.Builder |
| Modifier and Type | Method and Description |
|---|---|
static TransferListenerContext.Builder |
builder() |
CompletedObjectTransfer |
completedTransfer()
The completed transfer, i.e., the
CompletedFileUpload or CompletedFileDownload. |
TransferProgressSnapshot |
progressSnapshot()
The immutable
TransferProgressSnapshot for this specific update. |
TransferObjectRequest |
request()
The
TransferRequest that was submitted to S3TransferManager, i.e., the UploadFileRequest or
DownloadFileRequest. |
TransferListenerContext.Builder |
toBuilder() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcopypublic static TransferListenerContext.Builder builder()
public TransferListenerContext.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<TransferListenerContext.Builder,TransferListenerContext>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 CompletedObjectTransfer completedTransfer()
TransferListener.Context.TransferCompleteCompletedFileUpload or CompletedFileDownload.completedTransfer in interface TransferListener.Context.TransferCompleteCopyright © 2023. All rights reserved.