Package software.amazon.awssdk.core
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 forAsyncRequestBody.fromFile(FileRequestBodyConfiguration)to configure how the SDK should read the file.- See Also:
 builder()
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceFileRequestBodyConfiguration.Builder 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FileRequestBodyConfiguration.Builderbuilder()Create aFileRequestBodyConfiguration.Builder, used to create aFileRequestBodyConfiguration.IntegerchunkSizeInBytes()booleanequals(Object o)inthashCode()LongnumBytesToRead()Pathpath()Longposition()FileRequestBodyConfiguration.BuildertoBuilder()- 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy 
 - 
 
 - 
 
- 
- 
Method Detail
- 
builder
public static FileRequestBodyConfiguration.Builder builder()
Create aFileRequestBodyConfiguration.Builder, used to create aFileRequestBodyConfiguration. 
- 
chunkSizeInBytes
public Integer chunkSizeInBytes()
- Returns:
 - the size of each chunk to read from the file
 
 
- 
position
public Long position()
- Returns:
 - the file position at which the request body begins.
 
 
- 
numBytesToRead
public Long numBytesToRead()
- Returns:
 - the number of bytes to read from this file.
 
 
- 
path
public Path path()
- Returns:
 - the file path
 
 
- 
toBuilder
public FileRequestBodyConfiguration.Builder toBuilder()
- Specified by:
 toBuilderin interfaceToCopyableBuilder<FileRequestBodyConfiguration.Builder,FileRequestBodyConfiguration>
 
 - 
 
 -