Interface FileFormat.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileFormat.Builder,
,FileFormat> SdkBuilder<FileFormat.Builder,
,FileFormat> SdkPojo
- Enclosing class:
FileFormat
public static interface FileFormat.Builder
extends SdkPojo, CopyableBuilder<FileFormat.Builder,FileFormat>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileFormat.Builder
csv
(Consumer<Csv.Builder> csv) The file is in .CSV format.The file is in .CSV format.default FileFormat.Builder
parquet
(Consumer<Parquet.Builder> parquet) The file is in parquet format.The file is in parquet format.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, sdkFields
-
Method Details
-
csv
The file is in .CSV format.
- Parameters:
csv
- The file is in .CSV format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
csv
The file is in .CSV format.
This is a convenience method that creates an instance of theCsv.Builder
avoiding the need to create one manually viaCsv.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocsv(Csv)
.- Parameters:
csv
- a consumer that will call methods onCsv.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
parquet
The file is in parquet format.
- Parameters:
parquet
- The file is in parquet format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parquet
The file is in parquet format.
This is a convenience method that creates an instance of theParquet.Builder
avoiding the need to create one manually viaParquet.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toparquet(Parquet)
.- Parameters:
parquet
- a consumer that will call methods onParquet.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-