Interface S3CatalogTarget.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3CatalogTarget.Builder,
,S3CatalogTarget> SdkBuilder<S3CatalogTarget.Builder,
,S3CatalogTarget> SdkPojo
- Enclosing class:
S3CatalogTarget
-
Method Summary
Modifier and TypeMethodDescriptiondefault S3CatalogTarget.Builder
autoDataQuality
(Consumer<AutoDataQuality.Builder> autoDataQuality) Specifies whether to automatically enable data quality evaluation for the S3 catalog target.autoDataQuality
(AutoDataQuality autoDataQuality) Specifies whether to automatically enable data quality evaluation for the S3 catalog target.The name of the database to write to.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.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.default S3CatalogTarget.Builder
schemaChangePolicy
(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy) A policy that specifies update behavior for the crawler.schemaChangePolicy
(CatalogSchemaChangePolicy schemaChangePolicy) A policy that specifies update behavior for the crawler.The name of the table in the database to write to.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.
-
table
The name of the table in the database to write to.
- Parameters:
table
- The name of the table in the database to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
database
The name of the database to write to.
- Parameters:
database
- The name of the database to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 S3CatalogTarget.Builder schemaChangePolicy(Consumer<CatalogSchemaChangePolicy.Builder> schemaChangePolicy) A policy that specifies update behavior for the crawler.
This is a convenience method that creates an instance of theCatalogSchemaChangePolicy.Builder
avoiding the need to create one manually viaCatalogSchemaChangePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaChangePolicy(CatalogSchemaChangePolicy)
.- Parameters:
schemaChangePolicy
- a consumer that will call methods onCatalogSchemaChangePolicy.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 catalog 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 catalog 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 catalog 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:
-