| Package | Description |
|---|---|
| software.amazon.awssdk.core.async |
| Modifier and Type | Method and Description |
|---|---|
static AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.builder()
Create a
AsyncRequestBodyFromInputStreamConfiguration.Builder, used to create a AsyncRequestBodyFromInputStreamConfiguration. |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.Builder.contentLength(Long contentLength)
Configures the length of the provided
InputStream |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.Builder.executor(ExecutorService executor)
Configures the
ExecutorService to perform the blocking data reads. |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.Builder.inputStream(InputStream inputStream)
Configures the InputStream.
|
AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.Builder.maxReadLimit(Integer maxReadLimit)
Configures max read limit used to mark and reset the
InputStream. |
AsyncRequestBodyFromInputStreamConfiguration.Builder |
AsyncRequestBodyFromInputStreamConfiguration.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncRequestBody |
AsyncRequestBody.fromInputStream(Consumer<AsyncRequestBodyFromInputStreamConfiguration.Builder> configuration)
This is a convenience method that passes an instance of the
AsyncRequestBodyFromInputStreamConfiguration builder,
avoiding the need to create one manually via AsyncRequestBodyFromInputStreamConfiguration.builder(). |
Copyright © 2023. All rights reserved.