Interface InputFile.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<InputFile.Builder,,InputFile> SdkBuilder<InputFile.Builder,,InputFile> SdkPojo
- Enclosing class:
InputFile
public static interface InputFile.Builder
extends SdkPojo, CopyableBuilder<InputFile.Builder,InputFile>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputFile.BuilderfileMetadata(Consumer<FileMetadata.Builder> fileMetadata) The file metadata of the input file.fileMetadata(FileMetadata fileMetadata) The file metadata of the input file.sourceLocation(String sourceLocation) The source location of the input file.targetLocation(String targetLocation) The target location of the input file.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
sourceLocation
The source location of the input file.
- Parameters:
sourceLocation- The source location of the input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetLocation
The target location of the input file.
- Parameters:
targetLocation- The target location of the input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileMetadata
The file metadata of the input file.
- Parameters:
fileMetadata- The file metadata of the input file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileMetadata
The file metadata of the input file.
This is a convenience method that creates an instance of theFileMetadata.Builderavoiding the need to create one manually viaFileMetadata.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileMetadata(FileMetadata).- Parameters:
fileMetadata- a consumer that will call methods onFileMetadata.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-