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 interfaceAsyncRequestBodySplitConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description LongbufferSizeInBytes()The configured maximum buffer size the SDK will use to buffer the content from the sourceSdkPublisher.static AsyncRequestBodySplitConfiguration.Builderbuilder()Create aAsyncRequestBodySplitConfiguration.Builder, used to create aAsyncRequestBodySplitConfiguration.LongchunkSizeInBytes()The configured chunk size for each dividedAsyncRequestBody.static AsyncRequestBodySplitConfigurationdefaultConfiguration()booleanequals(Object o)inthashCode()AsyncRequestBodySplitConfiguration.BuildertoBuilder()-
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:
toBuilderin interfaceToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
-
-