Interface File.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<File.Builder,File>,SdkBuilder<File.Builder,File>,SdkPojo
- Enclosing class:
- File
public static interface File.Builder extends SdkPojo, CopyableBuilder<File.Builder,File>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default File.BuilderfileType(Consumer<CompareFileType.Builder> fileType)The file type of the file.File.BuilderfileType(CompareFileType fileType)The file type of the 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
-
fileType
File.Builder fileType(CompareFileType 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
default File.Builder fileType(Consumer<CompareFileType.Builder> 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:
fileType(CompareFileType)
-
-