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>
@Immutable public class TransferListenerFailedContext extends Object implements TransferListener.Context.TransferFailed, ToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
An SDK-internal implementation ofTransferListener.Context.TransferFailed.- See Also:
TransferListenerContext
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTransferListenerFailedContext.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TransferListenerFailedContext.Builderbuilder()Throwableexception()The exception associated with the failed transfer.TransferProgressSnapshotprogressSnapshot()The immutableTransferProgressSnapshotfor this specific update.TransferObjectRequestrequest()TheTransferRequestthat was submitted toS3TransferManager, i.e., theUploadFileRequestorDownloadFileRequest.TransferListenerFailedContext.BuildertoBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static TransferListenerFailedContext.Builder builder()
-
toBuilder
public TransferListenerFailedContext.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<TransferListenerFailedContext.Builder,TransferListenerFailedContext>
-
request
public TransferObjectRequest request()
Description copied from interface:TransferListener.Context.TransferInitiatedTheTransferRequestthat was submitted toS3TransferManager, i.e., theUploadFileRequestorDownloadFileRequest.- Specified by:
requestin interfaceTransferListener.Context.TransferInitiated
-
progressSnapshot
public TransferProgressSnapshot progressSnapshot()
Description copied from interface:TransferListener.Context.TransferInitiatedThe immutableTransferProgressSnapshotfor this specific update.- Specified by:
progressSnapshotin interfaceTransferListener.Context.TransferInitiated
-
exception
public Throwable 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
-
-