Package software.amazon.awssdk.core
Class FileRequestBodyConfiguration
java.lang.Object
software.amazon.awssdk.core.FileRequestBodyConfiguration
- All Implemented Interfaces:
ToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration>
@SdkPublicApi
public final class FileRequestBodyConfiguration
extends Object
implements ToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration>
Configuration options for
AsyncRequestBody.fromFile(FileRequestBodyConfiguration) to configure how the SDK
should read the file.- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Create aFileRequestBodyConfiguration.Builder, used to create aFileRequestBodyConfiguration.booleaninthashCode()path()position()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
builder
Create aFileRequestBodyConfiguration.Builder, used to create aFileRequestBodyConfiguration. -
chunkSizeInBytes
- Returns:
- the size of each chunk to read from the file
-
position
- Returns:
- the file position at which the request body begins.
-
numBytesToRead
- Returns:
- the number of bytes to read from this file.
-
path
- Returns:
- the file path
-
equals
-
hashCode
public int hashCode() -
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration>
-