Class FileRequestBodyConfiguration
java.lang.Object
software.amazon.awssdk.core.FileRequestBodyConfiguration
- All Implemented Interfaces:
ToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration>
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()Take this object and create a builder that contains all of the current property values of this object.Methods inherited from class java.lang.Object
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
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration> - Returns:
- a builder for type T
-