Interface S3IcebergDirectTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3IcebergDirectTarget.Builder,
,S3IcebergDirectTarget> SdkBuilder<S3IcebergDirectTarget.Builder,
,S3IcebergDirectTarget> SdkPojo
- Enclosing class:
S3IcebergDirectTarget
-
Method Summary
Modifier and TypeMethodDescriptionadditionalOptions
(Map<String, String> additionalOptions) Provides additional configuration options for customizing the Iceberg table behavior.compression
(String compression) Specifies the compression codec used for Iceberg table files in S3.compression
(IcebergTargetCompressionType compression) Specifies the compression codec used for Iceberg table files in S3.Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).format
(TargetFormat format) Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).Defines the single input source that provides data to this Iceberg target.inputs
(Collection<String> inputs) Defines the single input source that provides data to this Iceberg target.Specifies the unique identifier for the Iceberg target node in your data pipeline.numberTargetPartitions
(String numberTargetPartitions) Sets the number of target partitions for distributing Iceberg table files across S3.partitionKeys
(Collection<? extends Collection<String>> partitionKeys) Specifies the columns used to partition the Iceberg table data in S3.partitionKeys
(Collection<String>... partitionKeys) Specifies the columns used to partition the Iceberg table data in S3.Defines the S3 location where the Iceberg table data will be stored.default S3IcebergDirectTarget.Builder
schemaChangePolicy
(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy) Defines how schema changes are handled when writing data to the Iceberg table.schemaChangePolicy
(DirectSchemaChangePolicy schemaChangePolicy) Defines how schema changes are handled when writing data to the Iceberg table.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, sdkFieldNameToField, sdkFields
-
Method Details
-
name
Specifies the unique identifier for the Iceberg target node in your data pipeline.
- Parameters:
name
- Specifies the unique identifier for the Iceberg target node in your data pipeline.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Defines the single input source that provides data to this Iceberg target.
- Parameters:
inputs
- Defines the single input source that provides data to this Iceberg target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
Defines the single input source that provides data to this Iceberg target.
- Parameters:
inputs
- Defines the single input source that provides data to this Iceberg target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
Specifies the columns used to partition the Iceberg table data in S3.
- Parameters:
partitionKeys
- Specifies the columns used to partition the Iceberg table data in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
Specifies the columns used to partition the Iceberg table data in S3.
- Parameters:
partitionKeys
- Specifies the columns used to partition the Iceberg table data in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
Defines the S3 location where the Iceberg table data will be stored.
- Parameters:
path
- Defines the S3 location where the Iceberg table data will be stored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).
- Parameters:
format
- Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
format
Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).
- Parameters:
format
- Specifies the file format used for storing Iceberg table data (e.g., Parquet, ORC).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalOptions
Provides additional configuration options for customizing the Iceberg table behavior.
- Parameters:
additionalOptions
- Provides additional configuration options for customizing the Iceberg table behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
Defines how schema changes are handled when writing data to the Iceberg table.
- Parameters:
schemaChangePolicy
- Defines how schema changes are handled when writing data to the Iceberg table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default S3IcebergDirectTarget.Builder schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy) Defines how schema changes are handled when writing data to the Iceberg table.
This is a convenience method that creates an instance of theDirectSchemaChangePolicy.Builder
avoiding the need to create one manually viaDirectSchemaChangePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaChangePolicy(DirectSchemaChangePolicy)
.- Parameters:
schemaChangePolicy
- a consumer that will call methods onDirectSchemaChangePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compression
Specifies the compression codec used for Iceberg table files in S3.
- Parameters:
compression
- Specifies the compression codec used for Iceberg table files in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
compression
Specifies the compression codec used for Iceberg table files in S3.
- Parameters:
compression
- Specifies the compression codec used for Iceberg table files in S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
numberTargetPartitions
Sets the number of target partitions for distributing Iceberg table files across S3.
- Parameters:
numberTargetPartitions
- Sets the number of target partitions for distributing Iceberg table files across S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-