Interface DetectedS3SourceConfig.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DetectedS3SourceConfig.Builder,
,DetectedS3SourceConfig> SdkBuilder<DetectedS3SourceConfig.Builder,
,DetectedS3SourceConfig> SdkPojo
- Enclosing class:
DetectedS3SourceConfig
public static interface DetectedS3SourceConfig.Builder
extends SdkPojo, CopyableBuilder<DetectedS3SourceConfig.Builder,DetectedS3SourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetectedS3SourceConfig.Builder
fileFormatDescriptor
(Consumer<DetectedFileFormatDescriptor.Builder> fileFormatDescriptor) The source's file format descriptor.fileFormatDescriptor
(DetectedFileFormatDescriptor fileFormatDescriptor) The source's file format descriptor.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
-
fileFormatDescriptor
DetectedS3SourceConfig.Builder fileFormatDescriptor(DetectedFileFormatDescriptor fileFormatDescriptor) The source's file format descriptor.
- Parameters:
fileFormatDescriptor
- The source's file format descriptor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fileFormatDescriptor
default DetectedS3SourceConfig.Builder fileFormatDescriptor(Consumer<DetectedFileFormatDescriptor.Builder> fileFormatDescriptor) The source's file format descriptor.
This is a convenience method that creates an instance of theDetectedFileFormatDescriptor.Builder
avoiding the need to create one manually viaDetectedFileFormatDescriptor.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofileFormatDescriptor(DetectedFileFormatDescriptor)
.- Parameters:
fileFormatDescriptor
- a consumer that will call methods onDetectedFileFormatDescriptor.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-