Class SplittingPublisher.Builder

java.lang.Object
software.amazon.awssdk.core.internal.async.SplittingPublisher.Builder
Enclosing class:
SplittingPublisher

public static final class SplittingPublisher.Builder extends Object
  • Method Details

    • asyncRequestBody

      public SplittingPublisher.Builder asyncRequestBody(AsyncRequestBody asyncRequestBody)
      Sets the AsyncRequestBody to be split.
    • splitConfiguration

      public SplittingPublisher.Builder splitConfiguration(AsyncRequestBodySplitConfiguration splitConfiguration)
      Sets the split configuration.
    • retryableSubAsyncRequestBodyEnabled

      public SplittingPublisher.Builder retryableSubAsyncRequestBodyEnabled(Boolean retryableSubAsyncRequestBodyEnabled)
      Sets whether to enable retryable sub async request bodies.
    • bufferBeforeSend

      public SplittingPublisher.Builder bufferBeforeSend(boolean bufferBeforeSend)
      Sets whether to enable full buffering before sending parts downstream. When enabled, parts are only sent to the downstream subscriber after all data for that part has been received and complete() has been called.

      This does not increase the maximum memory footprint. Buffered data remains bounded by bufferSizeInBytes in the split configuration.

    • build

      public SplittingPublisher build()
      Builds a SplittingPublisher object based on the values held by this builder.