Class CfnCrawlerPropsMixin.IcebergTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnCrawlerPropsMixin.IcebergTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawlerPropsMixin.IcebergTargetProperty>
- Enclosing interface:
CfnCrawlerPropsMixin.IcebergTargetProperty
@Stability(Stable)
public static final class CfnCrawlerPropsMixin.IcebergTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawlerPropsMixin.IcebergTargetProperty>
A builder for
CfnCrawlerPropsMixin.IcebergTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionName(String connectionName) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getConnectionName()exclusions(List<String> exclusions) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getExclusions()maximumTraversalDepth(Number maximumTraversalDepth) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getMaximumTraversalDepth()Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getPaths()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnCrawlerPropsMixin.IcebergTargetProperty.Builder connectionName(String connectionName) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getConnectionName()- Parameters:
connectionName- The name of the connection to use to connect to the Iceberg target.- Returns:
this
-
exclusions
@Stability(Stable) public CfnCrawlerPropsMixin.IcebergTargetProperty.Builder exclusions(List<String> exclusions) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getExclusions()- Parameters:
exclusions- A list of global patterns used to exclude from the crawl.- Returns:
this
-
maximumTraversalDepth
@Stability(Stable) public CfnCrawlerPropsMixin.IcebergTargetProperty.Builder maximumTraversalDepth(Number maximumTraversalDepth) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getMaximumTraversalDepth()- Parameters:
maximumTraversalDepth- The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Iceberg metadata folder in your Amazon S3 path. Used to limit the crawler run time.- Returns:
this
-
paths
@Stability(Stable) public CfnCrawlerPropsMixin.IcebergTargetProperty.Builder paths(List<String> paths) Sets the value ofCfnCrawlerPropsMixin.IcebergTargetProperty.getPaths()- Parameters:
paths- One or more Amazon S3 paths that contains Iceberg metadata folders as s3://bucket/prefix .- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrawlerPropsMixin.IcebergTargetProperty>- Returns:
- a new instance of
CfnCrawlerPropsMixin.IcebergTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-