Class TransferListenerContext
java.lang.Object
software.amazon.awssdk.transfer.s3.internal.progress.TransferListenerContext
- All Implemented Interfaces:
TransferListener.Context.BytesTransferred
,TransferListener.Context.TransferComplete
,TransferListener.Context.TransferInitiated
,ToCopyableBuilder<TransferListenerContext.Builder,
TransferListenerContext>
@Immutable
public final class TransferListenerContext
extends Object
implements TransferListener.Context.TransferComplete, ToCopyableBuilder<TransferListenerContext.Builder,TransferListenerContext>
An SDK-internal implementation of
TransferListener.Context.TransferComplete
and its parent interfaces.- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
The completed transfer, i.e., theCompletedFileUpload
orCompletedFileDownload
.The immutableTransferProgressSnapshot
for this specific update.request()
TheTransferRequest
that was submitted toS3TransferManager
, i.e., theUploadFileRequest
orDownloadFileRequest
.Take this object and create a builder that contains all of the current property values of this object.toString()
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<TransferListenerContext.Builder,
TransferListenerContext> - Returns:
- a builder for type T
-
request
Description copied from interface:TransferListener.Context.TransferInitiated
TheTransferRequest
that was submitted toS3TransferManager
, i.e., theUploadFileRequest
orDownloadFileRequest
.- Specified by:
request
in interfaceTransferListener.Context.TransferInitiated
-
progressSnapshot
Description copied from interface:TransferListener.Context.TransferInitiated
The immutableTransferProgressSnapshot
for this specific update.- Specified by:
progressSnapshot
in interfaceTransferListener.Context.TransferInitiated
-
completedTransfer
Description copied from interface:TransferListener.Context.TransferComplete
The completed transfer, i.e., theCompletedFileUpload
orCompletedFileDownload
.- Specified by:
completedTransfer
in interfaceTransferListener.Context.TransferComplete
-
toString
-