Class CfnCrawlerPropsMixin.HudiTargetProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.glue.CfnCrawlerPropsMixin.HudiTargetProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawlerPropsMixin.HudiTargetProperty>
- Enclosing interface:
CfnCrawlerPropsMixin.HudiTargetProperty
@Stability(Stable)
public static final class CfnCrawlerPropsMixin.HudiTargetProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCrawlerPropsMixin.HudiTargetProperty>
A builder for
CfnCrawlerPropsMixin.HudiTargetProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.connectionName(String connectionName) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getConnectionName()exclusions(List<String> exclusions) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getExclusions()maximumTraversalDepth(Number maximumTraversalDepth) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getMaximumTraversalDepth()Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getPaths()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
connectionName
@Stability(Stable) public CfnCrawlerPropsMixin.HudiTargetProperty.Builder connectionName(String connectionName) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getConnectionName()- Parameters:
connectionName- The name of the connection to use to connect to the Hudi target. If your Hudi files are stored in buckets that require VPC authorization, you can set their connection properties here.- Returns:
this
-
exclusions
@Stability(Stable) public CfnCrawlerPropsMixin.HudiTargetProperty.Builder exclusions(List<String> exclusions) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getExclusions()- Parameters:
exclusions- A list of glob patterns used to exclude from the crawl. For more information, see Catalog Tables with a Crawler .- Returns:
this
-
maximumTraversalDepth
@Stability(Stable) public CfnCrawlerPropsMixin.HudiTargetProperty.Builder maximumTraversalDepth(Number maximumTraversalDepth) Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getMaximumTraversalDepth()- Parameters:
maximumTraversalDepth- The maximum depth of Amazon S3 paths that the crawler can traverse to discover the Hudi metadata folder in your Amazon S3 path. Used to limit the crawler run time.- Returns:
this
-
paths
Sets the value ofCfnCrawlerPropsMixin.HudiTargetProperty.getPaths()- Parameters:
paths- An array of Amazon S3 location strings for Hudi, each indicating the root folder with which the metadata files for a Hudi table resides. The Hudi folder may be located in a child folder of the root folder.The crawler will scan all folders underneath a path for a Hudi folder.
- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrawlerPropsMixin.HudiTargetProperty>- Returns:
- a new instance of
CfnCrawlerPropsMixin.HudiTargetProperty - Throws:
NullPointerException- if any required attribute was not provided
-