Interface S3DirectTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3DirectTarget.Builder,
,S3DirectTarget> SdkBuilder<S3DirectTarget.Builder,
,S3DirectTarget> SdkPojo
- Enclosing class:
S3DirectTarget
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3DirectTarget.Builder
autoDataQuality
(Consumer<AutoDataQuality.Builder> autoDataQuality) Specifies whether to automatically enable data quality evaluation for the S3 direct target.autoDataQuality
(AutoDataQuality autoDataQuality) Specifies whether to automatically enable data quality evaluation for the S3 direct target.compression
(String compression) Specifies how the data is compressed.Specifies the data output format for the target.format
(TargetFormat format) Specifies the data output format for the target.The nodes that are inputs to the data target.inputs
(Collection<String> inputs) The nodes that are inputs to the data target.The name of the data target.numberTargetPartitions
(String numberTargetPartitions) Specifies the number of target partitions when writing data directly to Amazon S3.outputSchemas
(Collection<GlueSchema> outputSchemas) Specifies the data schema for the S3 direct target.outputSchemas
(Consumer<GlueSchema.Builder>... outputSchemas) Specifies the data schema for the S3 direct target.outputSchemas
(GlueSchema... outputSchemas) Specifies the data schema for the S3 direct target.partitionKeys
(Collection<? extends Collection<String>> partitionKeys) Specifies native partitioning using a sequence of keys.partitionKeys
(Collection<String>... partitionKeys) Specifies native partitioning using a sequence of keys.A single Amazon S3 path to write to.default S3DirectTarget.Builder
schemaChangePolicy
(Consumer<DirectSchemaChangePolicy.Builder> schemaChangePolicy) A policy that specifies update behavior for the crawler.schemaChangePolicy
(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 Details
-
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
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
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.
-
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
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.
-
path
A single Amazon S3 path to write to.
- Parameters:
path
- A single Amazon S3 path to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-
numberTargetPartitions
Specifies the number of target partitions when writing data directly to Amazon S3.
- Parameters:
numberTargetPartitions
- Specifies the number of target partitions when writing data directly to Amazon S3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
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:
-
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 S3DirectTarget.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.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:
-
autoDataQuality
Specifies whether to automatically enable data quality evaluation for the S3 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 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
Specifies whether to automatically enable data quality evaluation for the S3 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.Builder
avoiding the need to create one manually viaAutoDataQuality.builder()
.When the
Consumer
completes,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:
-
outputSchemas
Specifies the data schema for the S3 direct target.
- Parameters:
outputSchemas
- Specifies the data schema for the S3 direct target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the S3 direct target.
- Parameters:
outputSchemas
- Specifies the data schema for the S3 direct target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputSchemas
Specifies the data schema for the S3 direct target.
This is a convenience method that creates an instance of theGlueSchema.Builder
avoiding the need to create one manually viaGlueSchema.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputSchemas(List<GlueSchema>)
.- 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:
-