Interface CompletedDownload.TypedBuilder<T>
-
- All Superinterfaces:
Buildable,CopyableBuilder<CompletedDownload.TypedBuilder<T>,CompletedDownload<T>>,SdkBuilder<CompletedDownload.TypedBuilder<T>,CompletedDownload<T>>
- Enclosing class:
- CompletedDownload<ResultT>
public static interface CompletedDownload.TypedBuilder<T> extends CopyableBuilder<CompletedDownload.TypedBuilder<T>,CompletedDownload<T>>
The type-parameterized version ofCompletedDownload.UntypedBuilder. This builder's type is inferred as part of specifyingresult(Object), after which this builder can be used to construct aCompletedDownloadwith the same generic type.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompletedDownload.TypedBuilder<T>result(T result)Specifies the result of the completed download.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
-
-
-
Method Detail
-
result
CompletedDownload.TypedBuilder<T> result(T result)
Specifies the result of the completed download. The generic type used is constrained by theCompletedDownload.UntypedBuilder.result(Object)that was previously used to create thisCompletedDownload.TypedBuilder.- Parameters:
result- the result of the completed download, as transformed by anAsyncResponseTransformer- Returns:
- a reference to this object so that method calls can be chained together.
-
-