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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AsyncRequestBodySplitConfiguration.Builder
bufferSizeInBytes(Long bufferSizeInBytes)
The maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher
.AsyncRequestBodySplitConfiguration.Builder
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 Detail
-
chunkSizeInBytes
AsyncRequestBodySplitConfiguration.Builder chunkSizeInBytes(Long 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
AsyncRequestBodySplitConfiguration.Builder bufferSizeInBytes(Long 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.
-
-