| Package | Description |
|---|---|
| software.amazon.awssdk.core | |
| software.amazon.awssdk.core.async |
| Modifier and Type | Method and Description |
|---|---|
static FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.builder()
Create a
FileRequestBodyConfiguration.Builder, used to create a FileRequestBodyConfiguration. |
FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.Builder.chunkSizeInBytes(Integer chunkSize)
Sets the size of chunks read from the file.
|
FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.Builder.numBytesToRead(Long numBytesToRead)
Sets the number of bytes to read from this file.
|
FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.Builder.path(Path path)
Sets the
Path to the file containing data to send to the service |
FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.Builder.position(Long position)
Sets the file position at which the request body begins.
|
FileRequestBodyConfiguration.Builder |
FileRequestBodyConfiguration.toBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static AsyncRequestBody |
AsyncRequestBody.fromFile(Consumer<FileRequestBodyConfiguration.Builder> configuration)
Creates an
AsyncRequestBody that produces data from the contents of a file. |
Copyright © 2023. All rights reserved.