Interface SplittingTransformerConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SplittingTransformerConfiguration.Builder,,SplittingTransformerConfiguration> SdkBuilder<SplittingTransformerConfiguration.Builder,SplittingTransformerConfiguration>
- Enclosing class:
SplittingTransformerConfiguration
public static interface SplittingTransformerConfiguration.Builder
extends CopyableBuilder<SplittingTransformerConfiguration.Builder,SplittingTransformerConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbufferSizeInBytes(Long bufferSize) Configures the maximum amount of memory in bytes buffered by theSplittingTransformer.responseMapper(UnaryOperator<SdkResponse> responseMapper) Configures a response mapper that will be applied to the response before it is delivered to the upstream transformer'sonResponsecallback, allowing the response to be rewritten - for example, to report full-object metadata instead of the first part's.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
bufferSizeInBytes
Configures the maximum amount of memory in bytes buffered by theSplittingTransformer.- Parameters:
bufferSize- the buffer size in bytes- Returns:
- This object for method chaining.
-
responseMapper
Configures a response mapper that will be applied to the response before it is delivered to the upstream transformer'sonResponsecallback, allowing the response to be rewritten - for example, to report full-object metadata instead of the first part's. Applied once, to the first response; if not set, the response is delivered unchanged.Only applied by the default
splitimplementation. A transformer that overridessplit(such as a parallel, file-based one) may not read it, in which case it has no effect.- Parameters:
responseMapper- a function to transform the response before delivery, or null for no mapping- Returns:
- This object for method chaining.
-