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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InputFile.BuilderfileMetadata(Consumer<FileMetadata.Builder> fileMetadata)The file metadata of the input file.InputFile.BuilderfileMetadata(FileMetadata fileMetadata)The file metadata of the input file.InputFile.BuildersourceLocation(String sourceLocation)The source location of the input file.InputFile.BuildertargetLocation(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 Detail
-
sourceLocation
InputFile.Builder sourceLocation(String 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
InputFile.Builder targetLocation(String 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
InputFile.Builder fileMetadata(FileMetadata 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
default InputFile.Builder fileMetadata(Consumer<FileMetadata.Builder> 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:
fileMetadata(FileMetadata)
-
-