Class DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT>
- java.lang.Object
-
- software.amazon.awssdk.core.internal.async.DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT>
-
- All Implemented Interfaces:
AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,Buildable,CopyableBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>,SdkBuilder<AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>,AsyncResponseTransformer.SplitResult<ResponseT,ResultT>>
- Enclosing class:
- DefaultAsyncResponseTransformerSplitResult<ResponseT,ResultT>
public static class DefaultAsyncResponseTransformerSplitResult.DefaultBuilder<ResponseT,ResultT> extends Object implements AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>
-
-
Method Summary
-
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.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation
-
-
-
-
Method Detail
-
publisher
public SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher()
- Specified by:
publisherin interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Returns:
- the publisher which was configured on this Builder instance.
-
publisher
public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> publisher(SdkPublisher<AsyncResponseTransformer<ResponseT,ResponseT>> publisher)
Description copied from interface:AsyncResponseTransformer.SplitResult.BuilderSets the publisher publishing the individualAsyncResponseTransformer- Specified by:
publisherin interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Parameters:
publisher- the publisher- Returns:
- an instance of this Builder
-
resultFuture
public CompletableFuture<ResultT> resultFuture()
- Specified by:
resultFuturein interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Returns:
- The future which was configured an this Builder instance.
-
resultFuture
public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> resultFuture(CompletableFuture<ResultT> future)
Description copied from interface:AsyncResponseTransformer.SplitResult.BuilderSets the future that will be completed when the future returned by calling theAsyncResponseTransformer.prepare()method on the AsyncResponseTransformer which was split completes.- Specified by:
resultFuturein interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Parameters:
future- the future- Returns:
- an instance of this Builder
-
parallelSplitSupported
public Boolean parallelSplitSupported()
Description copied from interface:AsyncResponseTransformer.SplitResult.BuilderIf the AsyncResponseTransformers returned by theAsyncResponseTransformer.SplitResult.publisher()support concurrent parallel streaming of multiple content body concurrently.- Specified by:
parallelSplitSupportedin interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Returns:
-
parallelSplitSupported
public AsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT> parallelSplitSupported(Boolean parallelSplitSupported)
Description copied from interface:AsyncResponseTransformer.SplitResult.BuilderSets whether the AsyncResponseTransformers returned by theAsyncResponseTransformer.SplitResult.publisher()support concurrent parallel streaming of multiple content body concurrently- Specified by:
parallelSplitSupportedin interfaceAsyncResponseTransformer.SplitResult.Builder<ResponseT,ResultT>- Returns:
-
build
public AsyncResponseTransformer.SplitResult<ResponseT,ResultT> build()
-
-