Interface FileFormatDescriptor.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FileFormatDescriptor.Builder,
,FileFormatDescriptor> SdkBuilder<FileFormatDescriptor.Builder,
,FileFormatDescriptor> SdkPojo
- Enclosing class:
FileFormatDescriptor
public static interface FileFormatDescriptor.Builder
extends SdkPojo, CopyableBuilder<FileFormatDescriptor.Builder,FileFormatDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptiondefault FileFormatDescriptor.Builder
csvFormatDescriptor
(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.Builder
jsonFormatDescriptor
(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
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
-
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.Builder
avoiding the need to create one manually viaCsvFormatDescriptor.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaJsonFormatDescriptor.builder()
.When the
Consumer
completes,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:
-