Interface DetectedFileFormatDescriptor.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetectedFileFormatDescriptor.Builder,,DetectedFileFormatDescriptor> SdkBuilder<DetectedFileFormatDescriptor.Builder,,DetectedFileFormatDescriptor> SdkPojo
- Enclosing class:
DetectedFileFormatDescriptor
public static interface DetectedFileFormatDescriptor.Builder
extends SdkPojo, CopyableBuilder<DetectedFileFormatDescriptor.Builder,DetectedFileFormatDescriptor>
-
Method Summary
Modifier and TypeMethodDescriptioncsvFormatDescriptor(Consumer<DetectedCsvFormatDescriptor.Builder> csvFormatDescriptor) Details about a CSV format.csvFormatDescriptor(DetectedCsvFormatDescriptor csvFormatDescriptor) Details about a CSV format.jsonFormatDescriptor(Consumer<DetectedJsonFormatDescriptor.Builder> jsonFormatDescriptor) Details about a JSON format.jsonFormatDescriptor(DetectedJsonFormatDescriptor jsonFormatDescriptor) Details about a JSON 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, sdkFields
-
Method Details
-
csvFormatDescriptor
DetectedFileFormatDescriptor.Builder csvFormatDescriptor(DetectedCsvFormatDescriptor csvFormatDescriptor) Details about a CSV format.
- Parameters:
csvFormatDescriptor- Details about a CSV format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
csvFormatDescriptor
default DetectedFileFormatDescriptor.Builder csvFormatDescriptor(Consumer<DetectedCsvFormatDescriptor.Builder> csvFormatDescriptor) Details about a CSV format.
This is a convenience method that creates an instance of theDetectedCsvFormatDescriptor.Builderavoiding the need to create one manually viaDetectedCsvFormatDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocsvFormatDescriptor(DetectedCsvFormatDescriptor).- Parameters:
csvFormatDescriptor- a consumer that will call methods onDetectedCsvFormatDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
jsonFormatDescriptor
DetectedFileFormatDescriptor.Builder jsonFormatDescriptor(DetectedJsonFormatDescriptor jsonFormatDescriptor) Details about a JSON format.
- Parameters:
jsonFormatDescriptor- Details about a JSON format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jsonFormatDescriptor
default DetectedFileFormatDescriptor.Builder jsonFormatDescriptor(Consumer<DetectedJsonFormatDescriptor.Builder> jsonFormatDescriptor) Details about a JSON format.
This is a convenience method that creates an instance of theDetectedJsonFormatDescriptor.Builderavoiding the need to create one manually viaDetectedJsonFormatDescriptor.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojsonFormatDescriptor(DetectedJsonFormatDescriptor).- Parameters:
jsonFormatDescriptor- a consumer that will call methods onDetectedJsonFormatDescriptor.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-