Class CfnCrawler.IcebergTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnCrawler.IcebergTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawler.IcebergTargetProperty>
- Enclosing interface:
CfnCrawler.IcebergTargetProperty
@Stability(Stable)
public static final class CfnCrawler.IcebergTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawler.IcebergTargetProperty>
A builder for
CfnCrawler.IcebergTargetProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.connectionName
(String connectionName) Sets the value ofCfnCrawler.IcebergTargetProperty.getConnectionName()
exclusions
(List<String> exclusions) Sets the value ofCfnCrawler.IcebergTargetProperty.getExclusions()
maximumTraversalDepth
(Number maximumTraversalDepth) Sets the value ofCfnCrawler.IcebergTargetProperty.getMaximumTraversalDepth()
Sets the value ofCfnCrawler.IcebergTargetProperty.getPaths()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnCrawler.IcebergTargetProperty.Builder connectionName(String connectionName) Sets the value ofCfnCrawler.IcebergTargetProperty.getConnectionName()
- Parameters:
connectionName
- The name of the connection to use to connect to the Iceberg target.- Returns:
this
-
exclusions
@Stability(Stable) public CfnCrawler.IcebergTargetProperty.Builder exclusions(List<String> exclusions) Sets the value ofCfnCrawler.IcebergTargetProperty.getExclusions()
- Parameters:
exclusions
- A list of global patterns used to exclude from the crawl.- Returns:
this
-
maximumTraversalDepth
@Stability(Stable) public CfnCrawler.IcebergTargetProperty.Builder maximumTraversalDepth(Number maximumTraversalDepth) Sets the value ofCfnCrawler.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
Sets the value ofCfnCrawler.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:
build
in interfacesoftware.amazon.jsii.Builder<CfnCrawler.IcebergTargetProperty>
- Returns:
- a new instance of
CfnCrawler.IcebergTargetProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-