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.Buildercsv(Consumer<Csv.Builder> csv) The file is in .CSV format.The file is in .CSV format.default FileFormat.Builderparquet(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaCsv.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaParquet.builder().When the
Consumercompletes,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:
-