Class CompletedDownload<ResultT>
- java.lang.Object
-
- software.amazon.awssdk.transfer.s3.model.CompletedDownload<ResultT>
-
- All Implemented Interfaces:
CompletedObjectTransfer,CompletedTransfer,ToCopyableBuilder<CompletedDownload.TypedBuilder<ResultT>,CompletedDownload<ResultT>>
public final class CompletedDownload<ResultT> extends Object implements CompletedObjectTransfer, ToCopyableBuilder<CompletedDownload.TypedBuilder<ResultT>,CompletedDownload<ResultT>>
Represents a completed download transfer from Amazon S3. It can be used to track the underlying result that was transformed via anAsyncResponseTransformer.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCompletedDownload.TypedBuilder<T>The type-parameterized version ofCompletedDownload.UntypedBuilder.static interfaceCompletedDownload.UntypedBuilderInitial calls tobuilder()return anCompletedDownload.UntypedBuilder, where the builder is not yet parameterized with the generic type associated withCompletedDownload.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CompletedDownload.UntypedBuilderbuilder()Creates a builder that can be used to create aCompletedDownload.booleanequals(Object o)inthashCode()ResultTresult()Returns the result.CompletedDownload.TypedBuilder<ResultT>toBuilder()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer
response
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static CompletedDownload.UntypedBuilder builder()
Creates a builder that can be used to create aCompletedDownload.- See Also:
CompletedDownload.UntypedBuilder
-
toBuilder
public CompletedDownload.TypedBuilder<ResultT> toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CompletedDownload.TypedBuilder<ResultT>,CompletedDownload<ResultT>>
-
result
public ResultT result()
Returns the result.
-
-