Interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,
,ResultT>, AsyncResponseTransformer.SplitResult<ResponseT, ResultT>> SdkBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,
ResultT>, AsyncResponseTransformer.SplitResult<ResponseT, ResultT>>
- All Known Implementing Classes:
DefaultAsyncResponseTransformerSplitResult.DefaultBuilder
- Enclosing interface:
AsyncResponseTransformer.SplitResult<ResponseT,
ResultT>
public static interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>
extends CopyableBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>
-
Method Summary
Modifier and TypeMethodDescriptionpublisher
(SdkPublisher<AsyncResponseTransformer<ResponseT, ResponseT>> publisher) Sets the publisher publishing the individualAsyncResponseTransformer
resultFuture
(CompletableFuture<ResultT> future) Sets the future that will be completed when the future returned by calling theAsyncResponseTransformer.prepare()
method on the AsyncResponseTransformer which was split completes.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
publisher
SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher()- Returns:
- the publisher which was configured on this Builder instance.
-
publisher
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> publisher(SdkPublisher<AsyncResponseTransformer<ResponseT, ResponseT>> publisher) Sets the publisher publishing the individualAsyncResponseTransformer
- Parameters:
publisher
- the publisher- Returns:
- an instance of this Builder
-
resultFuture
CompletableFuture<ResultT> resultFuture()- Returns:
- The future which was configured an this Builder instance.
-
resultFuture
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> resultFuture(CompletableFuture<ResultT> future) Sets the future that will be completed when the future returned by calling theAsyncResponseTransformer.prepare()
method on the AsyncResponseTransformer which was split completes.- Parameters:
future
- the future- Returns:
- an instance of this Builder
-