Class CfnCrawler.DeltaTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCrawler.DeltaTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawler.DeltaTargetProperty>
- Enclosing interface:
CfnCrawler.DeltaTargetProperty
@Stability(Stable)
public static final class CfnCrawler.DeltaTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawler.DeltaTargetProperty>
A builder for
CfnCrawler.DeltaTargetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionName
(String connectionName) Sets the value ofCfnCrawler.DeltaTargetProperty.getConnectionName()
createNativeDeltaTable
(Boolean createNativeDeltaTable) Sets the value ofCfnCrawler.DeltaTargetProperty.getCreateNativeDeltaTable()
createNativeDeltaTable
(IResolvable createNativeDeltaTable) Sets the value ofCfnCrawler.DeltaTargetProperty.getCreateNativeDeltaTable()
deltaTables
(List<String> deltaTables) Sets the value ofCfnCrawler.DeltaTargetProperty.getDeltaTables()
writeManifest
(Boolean writeManifest) Sets the value ofCfnCrawler.DeltaTargetProperty.getWriteManifest()
writeManifest
(IResolvable writeManifest) Sets the value ofCfnCrawler.DeltaTargetProperty.getWriteManifest()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder connectionName(String connectionName) Sets the value ofCfnCrawler.DeltaTargetProperty.getConnectionName()
- Parameters:
connectionName
- The name of the connection to use to connect to the Delta table target.- Returns:
this
-
createNativeDeltaTable
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder createNativeDeltaTable(Boolean createNativeDeltaTable) Sets the value ofCfnCrawler.DeltaTargetProperty.getCreateNativeDeltaTable()
- Parameters:
createNativeDeltaTable
- Specifies whether the crawler will create native tables, to allow integration with query engines that support querying of the Delta transaction log directly.- Returns:
this
-
createNativeDeltaTable
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder createNativeDeltaTable(IResolvable createNativeDeltaTable) Sets the value ofCfnCrawler.DeltaTargetProperty.getCreateNativeDeltaTable()
- Parameters:
createNativeDeltaTable
- Specifies whether the crawler will create native tables, to allow integration with query engines that support querying of the Delta transaction log directly.- Returns:
this
-
deltaTables
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder deltaTables(List<String> deltaTables) Sets the value ofCfnCrawler.DeltaTargetProperty.getDeltaTables()
- Parameters:
deltaTables
- A list of the Amazon S3 paths to the Delta tables.- Returns:
this
-
writeManifest
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder writeManifest(Boolean writeManifest) Sets the value ofCfnCrawler.DeltaTargetProperty.getWriteManifest()
- Parameters:
writeManifest
- Specifies whether to write the manifest files to the Delta table path.- Returns:
this
-
writeManifest
@Stability(Stable) public CfnCrawler.DeltaTargetProperty.Builder writeManifest(IResolvable writeManifest) Sets the value ofCfnCrawler.DeltaTargetProperty.getWriteManifest()
- Parameters:
writeManifest
- Specifies whether to write the manifest files to the Delta table path.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnCrawler.DeltaTargetProperty>
- Returns:
- a new instance of
CfnCrawler.DeltaTargetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-