Interface File.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<File.Builder,,File> SdkBuilder<File.Builder,,File> SdkPojo
- Enclosing class:
File
-
Method Summary
Modifier and TypeMethodDescriptiondefault File.BuilderfileType(Consumer<CompareFileType.Builder> fileType) The file type of the file.fileType(CompareFileType fileType) The file type of the 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
-
fileType
The file type of the file.
- Parameters:
fileType- The file type of the file.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileType
The file type of the file.
This is a convenience method that creates an instance of theCompareFileType.Builderavoiding the need to create one manually viaCompareFileType.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofileType(CompareFileType).- Parameters:
fileType- a consumer that will call methods onCompareFileType.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-