public final class AsyncRequestBodySplitConfiguration extends Object implements ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
AsyncRequestBody.split(software.amazon.awssdk.core.async.AsyncRequestBodySplitConfiguration)
to configure how the SDK
should split an SdkPublisher
.Modifier and Type | Class and Description |
---|---|
static interface |
AsyncRequestBodySplitConfiguration.Builder |
Modifier and Type | Method and Description |
---|---|
Long |
bufferSizeInBytes()
The configured maximum buffer size the SDK will use to buffer the content from the source
SdkPublisher . |
static AsyncRequestBodySplitConfiguration.Builder |
builder()
Create a
AsyncRequestBodySplitConfiguration.Builder , used to create a AsyncRequestBodySplitConfiguration . |
Long |
chunkSizeInBytes()
The configured chunk size for each divided
AsyncRequestBody . |
static AsyncRequestBodySplitConfiguration |
defaultConfiguration() |
boolean |
equals(Object o) |
int |
hashCode() |
AsyncRequestBodySplitConfiguration.Builder |
toBuilder() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
copy
public static AsyncRequestBodySplitConfiguration defaultConfiguration()
public Long chunkSizeInBytes()
AsyncRequestBody
.public Long bufferSizeInBytes()
SdkPublisher
.public static AsyncRequestBodySplitConfiguration.Builder builder()
AsyncRequestBodySplitConfiguration.Builder
, used to create a AsyncRequestBodySplitConfiguration
.public AsyncRequestBodySplitConfiguration.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
Copyright © 2023. All rights reserved.