Interface AsyncRequestBodySplitConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,
,AsyncRequestBodySplitConfiguration> SdkBuilder<AsyncRequestBodySplitConfiguration.Builder,
AsyncRequestBodySplitConfiguration>
- Enclosing class:
AsyncRequestBodySplitConfiguration
public static interface AsyncRequestBodySplitConfiguration.Builder
extends CopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionbufferSizeInBytes
(Long bufferSizeInBytes) The maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher
.chunkSizeInBytes
(Long chunkSizeInBytes) Configures the size for each divided chunk.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
chunkSizeInBytes
Configures the size for each divided chunk. The last chunk may be smaller than the configured size. The default value is 2MB.- Parameters:
chunkSizeInBytes
- the chunk size in bytes- Returns:
- This object for method chaining.
-
bufferSizeInBytes
The maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher
. The default value is 8MB.- Parameters:
bufferSizeInBytes
- the buffer size in bytes- Returns:
- This object for method chaining.
-