Interface InputFile.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InputFile.Builder,
,InputFile> SdkBuilder<InputFile.Builder,
,InputFile> SdkPojo
- Enclosing class:
InputFile
@Mutable
@NotThreadSafe
public static interface InputFile.Builder
extends SdkPojo, CopyableBuilder<InputFile.Builder,InputFile>
-
Method Summary
Modifier and TypeMethodDescriptiondefault InputFile.Builder
fileMetadata
(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
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builder
avoiding the need to create one manually viaFileMetadata.builder()
.When the
Consumer
completes,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:
-