Class TransferListenerFailedContext
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.progress.TransferListenerFailedContext
- All Implemented Interfaces:
TransferListener.Context.TransferFailed,TransferListener.Context.TransferInitiated,ToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
@SdkInternalApi
@Immutable
public class TransferListenerFailedContext
extends Object
implements TransferListener.Context.TransferFailed, ToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
An SDK-internal implementation of
TransferListener.Context.TransferFailed.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()The exception associated with the failed transfer.The immutableTransferProgressSnapshotfor this specific update.request()TheTransferRequestthat was submitted toS3TransferManager, i.e., theUploadFileRequestorDownloadFileRequest.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
-
request
Description copied from interface:TransferListener.Context.TransferInitiatedTheTransferRequestthat was submitted toS3TransferManager, i.e., theUploadFileRequestorDownloadFileRequest.- Specified by:
requestin interfaceTransferListener.Context.TransferInitiated
-
progressSnapshot
Description copied from interface:TransferListener.Context.TransferInitiatedThe immutableTransferProgressSnapshotfor this specific update.- Specified by:
progressSnapshotin interfaceTransferListener.Context.TransferInitiated
-
exception
Description copied from interface:TransferListener.Context.TransferFailedThe exception associated with the failed transfer.Note that this would be the cause of a
CompletionException, and not aCompletionExceptionitself.- Specified by:
exceptionin interfaceTransferListener.Context.TransferFailed
-
toString
-