Interface FileFormatDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<FileFormatDescriptor.Builder,,FileFormatDescriptor> SdkBuilder<FileFormatDescriptor.Builder,,FileFormatDescriptor> SdkPojo
- Enclosing class:
FileFormatDescriptor
@Mutable
@NotThreadSafe
public static interface FileFormatDescriptor.Builder
extends SdkPojo, CopyableBuilder<FileFormatDescriptor.Builder,FileFormatDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileFormatDescriptor.BuildercsvFormatDescriptor(Consumer<CsvFormatDescriptor.Builder> csvFormatDescriptor) Contains information about how a source CSV data file should be analyzed.csvFormatDescriptor(CsvFormatDescriptor csvFormatDescriptor) Contains information about how a source CSV data file should be analyzed.default FileFormatDescriptor.BuilderjsonFormatDescriptor(Consumer<JsonFormatDescriptor.Builder> jsonFormatDescriptor) Contains information about how a source JSON data file should be analyzed.jsonFormatDescriptor(JsonFormatDescriptor jsonFormatDescriptor) Contains information about how a source JSON data file should be analyzed.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
-
csvFormatDescriptor
Contains information about how a source CSV data file should be analyzed.
- Parameters:
csvFormatDescriptor- Contains information about how a source CSV data file should be analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
csvFormatDescriptor
default FileFormatDescriptor.Builder csvFormatDescriptor(Consumer<CsvFormatDescriptor.Builder> csvFormatDescriptor) Contains information about how a source CSV data file should be analyzed.
This is a convenience method that creates an instance of theCsvFormatDescriptor.Builderavoiding the need to create one manually viaCsvFormatDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocsvFormatDescriptor(CsvFormatDescriptor).- Parameters:
csvFormatDescriptor- a consumer that will call methods onCsvFormatDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jsonFormatDescriptor
Contains information about how a source JSON data file should be analyzed.
- Parameters:
jsonFormatDescriptor- Contains information about how a source JSON data file should be analyzed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jsonFormatDescriptor
default FileFormatDescriptor.Builder jsonFormatDescriptor(Consumer<JsonFormatDescriptor.Builder> jsonFormatDescriptor) Contains information about how a source JSON data file should be analyzed.
This is a convenience method that creates an instance of theJsonFormatDescriptor.Builderavoiding the need to create one manually viaJsonFormatDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojsonFormatDescriptor(JsonFormatDescriptor).- Parameters:
jsonFormatDescriptor- a consumer that will call methods onJsonFormatDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-