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 ClassesModifier and TypeClassDescriptionstatic class
Nested classes/interfaces inherited from interface software.amazon.awssdk.core.async.AsyncResponseTransformer.SplitResult
AsyncResponseTransformer.SplitResult.Builder<ResponseT,
ResultT> -
Method Summary
Modifier and TypeMethodDescriptionstatic <ResponseT,
ResultT>
DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT, ResultT> builder()
The individualAsyncResponseTransformer
will be available through the publisher returned by this method.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.Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
publisher
The individualAsyncResponseTransformer
will be available through the publisher returned by this method.- Specified by:
publisher
in interfaceAsyncResponseTransformer.SplitResult<ResponseT,
ResultT> - Returns:
- the publisher which publishes the individual
AsyncResponseTransformer
-
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:
resultFuture
in interfaceAsyncResponseTransformer.SplitResult<ResponseT,
ResultT> - Returns:
- The future
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ResponseT,
ResultT> - Returns:
- a builder for type T
-
builder
public static <ResponseT,ResultT> DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT> builder()
-