Interface S3DeltaSource.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3DeltaSource.Builder,S3DeltaSource>,SdkBuilder<S3DeltaSource.Builder,S3DeltaSource>,SdkPojo
- Enclosing class:
- S3DeltaSource
public static interface S3DeltaSource.Builder extends SdkPojo, CopyableBuilder<S3DeltaSource.Builder,S3DeltaSource>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3DeltaSource.BuilderadditionalDeltaOptions(Map<String,String> additionalDeltaOptions)Specifies additional connection options.default S3DeltaSource.BuilderadditionalOptions(Consumer<S3DirectSourceAdditionalOptions.Builder> additionalOptions)Specifies additional options for the connector.S3DeltaSource.BuilderadditionalOptions(S3DirectSourceAdditionalOptions additionalOptions)Specifies additional options for the connector.S3DeltaSource.Buildername(String name)The name of the Delta Lake source.S3DeltaSource.BuilderoutputSchemas(Collection<GlueSchema> outputSchemas)Specifies the data schema for the Delta Lake source.S3DeltaSource.BuilderoutputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)Specifies the data schema for the Delta Lake source.S3DeltaSource.BuilderoutputSchemas(GlueSchema... outputSchemas)Specifies the data schema for the Delta Lake source.S3DeltaSource.Builderpaths(String... paths)A list of the Amazon S3 paths to read from.S3DeltaSource.Builderpaths(Collection<String> paths)A list of the Amazon S3 paths to read from.-
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
-
name
S3DeltaSource.Builder name(String name)
The name of the Delta Lake source.
- Parameters:
name- The name of the Delta Lake source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
S3DeltaSource.Builder paths(Collection<String> paths)
A list of the Amazon S3 paths to read from.
- Parameters:
paths- A list of the Amazon S3 paths to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
paths
S3DeltaSource.Builder paths(String... paths)
A list of the Amazon S3 paths to read from.
- Parameters:
paths- A list of the Amazon S3 paths to read from.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalDeltaOptions
S3DeltaSource.Builder additionalDeltaOptions(Map<String,String> additionalDeltaOptions)
Specifies additional connection options.
- Parameters:
additionalDeltaOptions- Specifies additional connection options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
S3DeltaSource.Builder additionalOptions(S3DirectSourceAdditionalOptions additionalOptions)
Specifies additional options for the connector.
- Parameters:
additionalOptions- Specifies additional options for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalOptions
default S3DeltaSource.Builder additionalOptions(Consumer<S3DirectSourceAdditionalOptions.Builder> additionalOptions)
Specifies additional options for the connector.
This is a convenience method that creates an instance of theS3DirectSourceAdditionalOptions.Builderavoiding the need to create one manually viaS3DirectSourceAdditionalOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalOptions(S3DirectSourceAdditionalOptions).- Parameters:
additionalOptions- a consumer that will call methods onS3DirectSourceAdditionalOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
additionalOptions(S3DirectSourceAdditionalOptions)
-
outputSchemas
S3DeltaSource.Builder outputSchemas(Collection<GlueSchema> outputSchemas)
Specifies the data schema for the Delta Lake source.
- Parameters:
outputSchemas- Specifies the data schema for the Delta Lake source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
S3DeltaSource.Builder outputSchemas(GlueSchema... outputSchemas)
Specifies the data schema for the Delta Lake source.
- Parameters:
outputSchemas- Specifies the data schema for the Delta Lake source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
S3DeltaSource.Builder outputSchemas(Consumer<GlueSchema.Builder>... outputSchemas)
Specifies the data schema for the Delta Lake source.
This is a convenience method that creates an instance of theGlueSchema.Builderavoiding the need to create one manually viaGlueSchema.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputSchemas(List.) - Parameters:
outputSchemas- a consumer that will call methods onGlueSchema.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#outputSchemas(java.util.Collection)
-
-