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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default FileFormatDescriptor.BuildercsvFormatDescriptor(Consumer<CsvFormatDescriptor.Builder> csvFormatDescriptor)Contains information about how a source CSV data file should be analyzed.FileFormatDescriptor.BuildercsvFormatDescriptor(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.FileFormatDescriptor.BuilderjsonFormatDescriptor(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 Detail
-
csvFormatDescriptor
FileFormatDescriptor.Builder csvFormatDescriptor(CsvFormatDescriptor 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:
csvFormatDescriptor(CsvFormatDescriptor)
-
jsonFormatDescriptor
FileFormatDescriptor.Builder jsonFormatDescriptor(JsonFormatDescriptor 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:
jsonFormatDescriptor(JsonFormatDescriptor)
-
-