Interface S3HudiDirectTarget.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3HudiDirectTarget.Builder,S3HudiDirectTarget>,SdkBuilder<S3HudiDirectTarget.Builder,S3HudiDirectTarget>,SdkPojo
- Enclosing class:
- S3HudiDirectTarget
@Mutable @NotThreadSafe public static interface S3HudiDirectTarget.Builder extends SdkPojo, CopyableBuilder<S3HudiDirectTarget.Builder,S3HudiDirectTarget>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description S3HudiDirectTarget.BuilderadditionalOptions(Map<String,String> additionalOptions)Specifies additional connection options for the connector.default S3HudiDirectTarget.BuilderautoDataQuality(Consumer<AutoDataQuality.Builder> autoDataQuality)Specifies whether to automatically enable data quality evaluation for the S3 Hudi direct target.S3HudiDirectTarget.BuilderautoDataQuality(AutoDataQuality autoDataQuality)Specifies whether to automatically enable data quality evaluation for the S3 Hudi direct target.S3HudiDirectTarget.Buildercompression(String compression)Specifies how the data is compressed.S3HudiDirectTarget.Buildercompression(HudiTargetCompressionType compression)Specifies how the data is compressed.S3HudiDirectTarget.Builderformat(String format)Specifies the data output format for the target.S3HudiDirectTarget.Builderformat(TargetFormat format)Specifies the data output format for the target.S3HudiDirectTarget.Builderinputs(String... inputs)The nodes that are inputs to the data target.S3HudiDirectTarget.Builderinputs(Collection<String> inputs)The nodes that are inputs to the data target.S3HudiDirectTarget.Buildername(String name)The name of the data target.S3HudiDirectTarget.BuildernumberTargetPartitions(String numberTargetPartitions)Specifies the number of target partitions for distributing Hudi dataset files across Amazon S3.S3HudiDirectTarget.BuilderpartitionKeys(Collection<? extends Collection<String>> partitionKeys)Specifies native partitioning using a sequence of keys.S3HudiDirectTarget.BuilderpartitionKeys(Collection<String>... partitionKeys)Specifies native partitioning using a sequence of keys.S3HudiDirectTarget.Builderpath(String path)The Amazon S3 path of your Hudi data source to write to.default S3HudiDirectTarget.BuilderschemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)A policy that specifies update behavior for the crawler.S3HudiDirectTarget.BuilderschemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)A policy that specifies update behavior for the crawler.-
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 Detail
-
name
S3HudiDirectTarget.Builder name(String name)
The name of the data target.
- Parameters:
name- The name of the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3HudiDirectTarget.Builder inputs(Collection<String> inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
inputs
S3HudiDirectTarget.Builder inputs(String... inputs)
The nodes that are inputs to the data target.
- Parameters:
inputs- The nodes that are inputs to the data target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
S3HudiDirectTarget.Builder path(String path)
The Amazon S3 path of your Hudi data source to write to.
- Parameters:
path- The Amazon S3 path of your Hudi data source to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
compression
S3HudiDirectTarget.Builder compression(String compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are
"gzip"and"bzip").- Parameters:
compression- Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are"gzip"and"bzip").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HudiTargetCompressionType,HudiTargetCompressionType
-
compression
S3HudiDirectTarget.Builder compression(HudiTargetCompressionType compression)
Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are
"gzip"and"bzip").- Parameters:
compression- Specifies how the data is compressed. This is generally not necessary if the data has a standard file extension. Possible values are"gzip"and"bzip").- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
HudiTargetCompressionType,HudiTargetCompressionType
-
numberTargetPartitions
S3HudiDirectTarget.Builder numberTargetPartitions(String numberTargetPartitions)
Specifies the number of target partitions for distributing Hudi dataset files across Amazon S3.
- Parameters:
numberTargetPartitions- Specifies the number of target partitions for distributing Hudi dataset files across Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3HudiDirectTarget.Builder partitionKeys(Collection<? extends Collection<String>> partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKeys
S3HudiDirectTarget.Builder partitionKeys(Collection<String>... partitionKeys)
Specifies native partitioning using a sequence of keys.
- Parameters:
partitionKeys- Specifies native partitioning using a sequence of keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
format
S3HudiDirectTarget.Builder format(String format)
Specifies the data output format for the target.
- Parameters:
format- Specifies the data output format for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetFormat,TargetFormat
-
format
S3HudiDirectTarget.Builder format(TargetFormat format)
Specifies the data output format for the target.
- Parameters:
format- Specifies the data output format for the target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
TargetFormat,TargetFormat
-
additionalOptions
S3HudiDirectTarget.Builder additionalOptions(Map<String,String> additionalOptions)
Specifies additional connection options for the connector.
- Parameters:
additionalOptions- Specifies additional connection options for the connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
S3HudiDirectTarget.Builder schemaChangePolicy(DirectSchemaChangePolicy schemaChangePolicy)
A policy that specifies update behavior for the crawler.
- Parameters:
schemaChangePolicy- A policy that specifies update behavior for the crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default S3HudiDirectTarget.Builder schemaChangePolicy(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy)
A policy that specifies update behavior for the crawler.
This is a convenience method that creates an instance of theDirectSchemaChangePolicy.Builderavoiding the need to create one manually viaDirectSchemaChangePolicy.builder().When the
Consumercompletes,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:
schemaChangePolicy(DirectSchemaChangePolicy)
-
autoDataQuality
S3HudiDirectTarget.Builder autoDataQuality(AutoDataQuality autoDataQuality)
Specifies whether to automatically enable data quality evaluation for the S3 Hudi direct target. When set to
true, data quality checks are performed automatically during the write operation.- Parameters:
autoDataQuality- Specifies whether to automatically enable data quality evaluation for the S3 Hudi direct target. When set totrue, data quality checks are performed automatically during the write operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoDataQuality
default S3HudiDirectTarget.Builder autoDataQuality(Consumer<AutoDataQuality.Builder> autoDataQuality)
Specifies whether to automatically enable data quality evaluation for the S3 Hudi direct target. When set to
This is a convenience method that creates an instance of thetrue, data quality checks are performed automatically during the write operation.AutoDataQuality.Builderavoiding the need to create one manually viaAutoDataQuality.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toautoDataQuality(AutoDataQuality).- Parameters:
autoDataQuality- a consumer that will call methods onAutoDataQuality.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
autoDataQuality(AutoDataQuality)
-
-