public static class DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT> extends Object implements AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>
| Modifier and Type | Method and Description |
|---|---|
AsyncResponseTransformer.SplitResult<ResponseT,ResultT> |
build()
An immutable object that is created from the
properties that have been set on the builder.
|
SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> |
publisher() |
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> |
publisher(SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher)
Sets the publisher publishing the individual
AsyncResponseTransformer |
CompletableFuture<ResultT> |
resultFuture() |
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> |
resultFuture(CompletableFuture<ResultT> future)
Sets the future that will be completed when the future returned by calling the
AsyncResponseTransformer.prepare() method on the AsyncResponseTransformer which was split completes. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopyapplyMutationpublic SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher()
publisher in interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> publisher(SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher)
AsyncResponseTransformer.SplitResult.BuilderAsyncResponseTransformerpublisher in interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>publisher - the publisherpublic CompletableFuture<ResultT> resultFuture()
resultFuture in interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> resultFuture(CompletableFuture<ResultT> future)
AsyncResponseTransformer.SplitResult.BuilderAsyncResponseTransformer.prepare() method on the AsyncResponseTransformer which was split completes.resultFuture in interface AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>future - the futurepublic AsyncResponseTransformer.SplitResult<ResponseT,ResultT> build()
SdkBuilderbuild in interface Buildablebuild in interface SdkBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>Copyright © 2026. All rights reserved.