Class DefaultAsyncResponseTransformerSplitResult<ResponseT,ResultT>
- java.lang.Object
-
- software.amazon.awssdk.core.internal.async.DefaultAsyncResponseTransformerSplitResult<ResponseT,ResultT>
-
- All Implemented Interfaces:
AsyncResponseTransformer.SplitResult<ResponseT,ResultT>,ToCopyableBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>
public final class DefaultAsyncResponseTransformerSplitResult<ResponseT,ResultT> extends Object implements AsyncResponseTransformer.SplitResult<ResponseT,ResultT>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT>-
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.async.AsyncResponseTransformer.SplitResult
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <ResponseT,ResultT>
DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT>builder()SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>>publisher()The individualAsyncResponseTransformerwill be available through the publisher returned by this method.CompletableFuture<ResultT>resultFuture()The future returned by this method will be completed when the future returned by calling theAsyncResponseTransformer.prepare()method on the AsyncResponseTransformer which was split completes.AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>toBuilder()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
publisher
public SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher()
The individualAsyncResponseTransformerwill be available through the publisher returned by this method.- Specified by:
publisherin interfaceAsyncResponseTransformer.SplitResult<ResponseT,ResultT>- Returns:
- the publisher which publishes the individual
AsyncResponseTransformer
-
resultFuture
public CompletableFuture<ResultT> resultFuture()
The future returned by this method will be completed when the future returned by calling theAsyncResponseTransformer.prepare()method on the AsyncResponseTransformer which was split completes.- Specified by:
resultFuturein interfaceAsyncResponseTransformer.SplitResult<ResponseT,ResultT>- Returns:
- The future
-
toBuilder
public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResponseT,ResultT>
-
builder
public static <ResponseT,ResultT> DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT> builder()
-
-