Class AsyncRequestBodySplitConfiguration
- java.lang.Object
-
- software.amazon.awssdk.core.async.AsyncRequestBodySplitConfiguration
-
- All Implemented Interfaces:
software.amazon.awssdk.utils.builder.ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
public final class AsyncRequestBodySplitConfiguration extends Object implements software.amazon.awssdk.utils.builder.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()
-
-
-
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 interfacesoftware.amazon.awssdk.utils.builder.ToCopyableBuilder<AsyncRequestBodySplitConfiguration.Builder,AsyncRequestBodySplitConfiguration>
-
-