Interface CompressionAsyncRequestBody.Builder
- All Superinterfaces:
Buildable
,SdkBuilder<CompressionAsyncRequestBody.Builder,
CompressionAsyncRequestBody>
- Enclosing class:
CompressionAsyncRequestBody
public static interface CompressionAsyncRequestBody.Builder
extends SdkBuilder<CompressionAsyncRequestBody.Builder,CompressionAsyncRequestBody>
-
Method Summary
Modifier and TypeMethodDescriptionasyncRequestBody
(AsyncRequestBody asyncRequestBody) Sets the AsyncRequestBody that will be wrapped.Sets the chunk size.compressor
(Compressor compressor) Sets the compressor to compress the request.Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Method Details
-
asyncRequestBody
Sets the AsyncRequestBody that will be wrapped.- Parameters:
asyncRequestBody
-- Returns:
- This builder for method chaining.
-
compressor
Sets the compressor to compress the request.- Parameters:
compressor
-- Returns:
- This builder for method chaining.
-
chunkSize
Sets the chunk size. Default size is 128 * 1024.- Parameters:
chunkSize
-- Returns:
- This builder for method chaining.
-