Interface DetectedS3SourceConfig.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetectedS3SourceConfig.Builder,,DetectedS3SourceConfig> SdkBuilder<DetectedS3SourceConfig.Builder,,DetectedS3SourceConfig> SdkPojo
- Enclosing class:
DetectedS3SourceConfig
@Mutable
@NotThreadSafe
public static interface DetectedS3SourceConfig.Builder
extends SdkPojo, CopyableBuilder<DetectedS3SourceConfig.Builder,DetectedS3SourceConfig>
-
Method Summary
Modifier and TypeMethodDescriptiondefault DetectedS3SourceConfig.BuilderfileFormatDescriptor(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
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
-
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.Builderavoiding the need to create one manually viaDetectedFileFormatDescriptor.builder().When the
Consumercompletes,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:
-