Class AsyncRequestBodySplitConfiguration
- java.lang.Object
-
- software.amazon.awssdk.core.async.AsyncRequestBodySplitConfiguration
-
- All Implemented Interfaces:
ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
public final class AsyncRequestBodySplitConfiguration extends Object implements ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
Configuration options forAsyncRequestBody.split(software.amazon.awssdk.core.async.AsyncRequestBodySplitConfiguration)
to configure how the SDK should split anSdkPublisher
.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
AsyncRequestBodySplitConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
bufferSizeInBytes()
The configured maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher
.static AsyncRequestBodySplitConfiguration.Builder
builder()
Create aAsyncRequestBodySplitConfiguration.Builder
, used to create aAsyncRequestBodySplitConfiguration
.Long
chunkSizeInBytes()
The configured chunk size for each dividedAsyncRequestBody
.static AsyncRequestBodySplitConfiguration
defaultConfiguration()
boolean
equals(Object o)
int
hashCode()
AsyncRequestBodySplitConfiguration.Builder
toBuilder()
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
defaultConfiguration
public static AsyncRequestBodySplitConfiguration defaultConfiguration()
-
chunkSizeInBytes
public Long chunkSizeInBytes()
The configured chunk size for each dividedAsyncRequestBody
.
-
bufferSizeInBytes
public Long bufferSizeInBytes()
The configured maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher
.
-
builder
public static AsyncRequestBodySplitConfiguration.Builder builder()
Create aAsyncRequestBodySplitConfiguration.Builder
, used to create aAsyncRequestBodySplitConfiguration
.
-
toBuilder
public AsyncRequestBodySplitConfiguration.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
-
-