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 Details

    • 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 source SdkPublisher. The default value is 8MB.
      Parameters:
      bufferSizeInBytes - the buffer size in bytes
      Returns:
      This object for method chaining.