Class CfnCrawlerPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCrawlerPropsMixin>
- Enclosing class:
CfnCrawlerPropsMixin
CfnCrawlerPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()classifiers(List<String> classifiers) A list of UTF-8 strings that specify the names of custom classifiers that are associated with the crawler.configuration(String configuration) Crawler configuration information.crawlerSecurityConfiguration(String crawlerSecurityConfiguration) The name of theSecurityConfigurationstructure to be used by this crawler.static CfnCrawlerPropsMixin.Buildercreate()static CfnCrawlerPropsMixin.Buildercreate(CfnPropertyMixinOptions options) databaseName(String databaseName) The name of the database in which the crawler's output is stored.databaseName(IBucketRef databaseName) The name of the database in which the crawler's output is stored.description(String description) A description of the crawler.lakeFormationConfiguration(CfnCrawlerPropsMixin.LakeFormationConfigurationProperty lakeFormationConfiguration) Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.lakeFormationConfiguration(IResolvable lakeFormationConfiguration) Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.The name of the crawler.recrawlPolicy(CfnCrawlerPropsMixin.RecrawlPolicyProperty recrawlPolicy) A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.recrawlPolicy(IResolvable recrawlPolicy) A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.For scheduled crawlers, the schedule when the crawler runs.schedule(IResolvable schedule) For scheduled crawlers, the schedule when the crawler runs.schemaChangePolicy(CfnCrawlerPropsMixin.SchemaChangePolicyProperty schemaChangePolicy) The policy that specifies update and delete behaviors for the crawler.schemaChangePolicy(IResolvable schemaChangePolicy) The policy that specifies update and delete behaviors for the crawler.tablePrefix(String tablePrefix) The prefix added to the names of tables that are created.The tags to use with this crawler.A collection of targets to crawl.targets(IResolvable targets) A collection of targets to crawl.
-
Method Details
-
create
@Stability(Stable) public static CfnCrawlerPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnCrawlerPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnCrawlerPropsMixin.Builder.
-
classifiers
A list of UTF-8 strings that specify the names of custom classifiers that are associated with the crawler.- Parameters:
classifiers- A list of UTF-8 strings that specify the names of custom classifiers that are associated with the crawler. This parameter is required.- Returns:
this- See Also:
-
configuration
Crawler configuration information.This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Configuring a Crawler .
- Parameters:
configuration- Crawler configuration information. This parameter is required.- Returns:
this- See Also:
-
crawlerSecurityConfiguration
@Stability(Stable) public CfnCrawlerPropsMixin.Builder crawlerSecurityConfiguration(String crawlerSecurityConfiguration) The name of theSecurityConfigurationstructure to be used by this crawler.- Parameters:
crawlerSecurityConfiguration- The name of theSecurityConfigurationstructure to be used by this crawler. This parameter is required.- Returns:
this- See Also:
-
databaseName
The name of the database in which the crawler's output is stored.- Parameters:
databaseName- The name of the database in which the crawler's output is stored. This parameter is required.- Returns:
this- See Also:
-
databaseName
The name of the database in which the crawler's output is stored.- Parameters:
databaseName- The name of the database in which the crawler's output is stored. This parameter is required.- Returns:
this- See Also:
-
description
A description of the crawler.- Parameters:
description- A description of the crawler. This parameter is required.- Returns:
this- See Also:
-
lakeFormationConfiguration
@Stability(Stable) public CfnCrawlerPropsMixin.Builder lakeFormationConfiguration(IResolvable lakeFormationConfiguration) Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.- Parameters:
lakeFormationConfiguration- Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials. This parameter is required.- Returns:
this- See Also:
-
lakeFormationConfiguration
@Stability(Stable) public CfnCrawlerPropsMixin.Builder lakeFormationConfiguration(CfnCrawlerPropsMixin.LakeFormationConfigurationProperty lakeFormationConfiguration) Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials.- Parameters:
lakeFormationConfiguration- Specifies whether the crawler should use AWS Lake Formation credentials for the crawler instead of the IAM role credentials. This parameter is required.- Returns:
this- See Also:
-
name
The name of the crawler.- Parameters:
name- The name of the crawler. This parameter is required.- Returns:
this- See Also:
-
recrawlPolicy
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.- Parameters:
recrawlPolicy- A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run. This parameter is required.- Returns:
this- See Also:
-
recrawlPolicy
@Stability(Stable) public CfnCrawlerPropsMixin.Builder recrawlPolicy(CfnCrawlerPropsMixin.RecrawlPolicyProperty recrawlPolicy) A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.- Parameters:
recrawlPolicy- A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run. This parameter is required.- Returns:
this- See Also:
-
role
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.- Parameters:
role- The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data. This parameter is required.- Returns:
this- See Also:
-
role
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.- Parameters:
role- The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data. This parameter is required.- Returns:
this- See Also:
-
schedule
For scheduled crawlers, the schedule when the crawler runs.- Parameters:
schedule- For scheduled crawlers, the schedule when the crawler runs. This parameter is required.- Returns:
this- See Also:
-
schedule
@Stability(Stable) public CfnCrawlerPropsMixin.Builder schedule(CfnCrawlerPropsMixin.ScheduleProperty schedule) For scheduled crawlers, the schedule when the crawler runs.- Parameters:
schedule- For scheduled crawlers, the schedule when the crawler runs. This parameter is required.- Returns:
this- See Also:
-
schemaChangePolicy
@Stability(Stable) public CfnCrawlerPropsMixin.Builder schemaChangePolicy(IResolvable schemaChangePolicy) The policy that specifies update and delete behaviors for the crawler.The policy tells the crawler what to do in the event that it detects a change in a table that already exists in the customer's database at the time of the crawl. The
SchemaChangePolicydoes not affect whether or how new tables and partitions are added. New tables and partitions are always created regardless of theSchemaChangePolicyon a crawler.The SchemaChangePolicy consists of two components,
UpdateBehaviorandDeleteBehavior.- Parameters:
schemaChangePolicy- The policy that specifies update and delete behaviors for the crawler. This parameter is required.- Returns:
this- See Also:
-
schemaChangePolicy
@Stability(Stable) public CfnCrawlerPropsMixin.Builder schemaChangePolicy(CfnCrawlerPropsMixin.SchemaChangePolicyProperty schemaChangePolicy) The policy that specifies update and delete behaviors for the crawler.The policy tells the crawler what to do in the event that it detects a change in a table that already exists in the customer's database at the time of the crawl. The
SchemaChangePolicydoes not affect whether or how new tables and partitions are added. New tables and partitions are always created regardless of theSchemaChangePolicyon a crawler.The SchemaChangePolicy consists of two components,
UpdateBehaviorandDeleteBehavior.- Parameters:
schemaChangePolicy- The policy that specifies update and delete behaviors for the crawler. This parameter is required.- Returns:
this- See Also:
-
tablePrefix
The prefix added to the names of tables that are created.- Parameters:
tablePrefix- The prefix added to the names of tables that are created. This parameter is required.- Returns:
this- See Also:
-
tags
The tags to use with this crawler.- Parameters:
tags- The tags to use with this crawler. This parameter is required.- Returns:
this- See Also:
-
targets
A collection of targets to crawl.- Parameters:
targets- A collection of targets to crawl. This parameter is required.- Returns:
this- See Also:
-
targets
@Stability(Stable) public CfnCrawlerPropsMixin.Builder targets(CfnCrawlerPropsMixin.TargetsProperty targets) A collection of targets to crawl.- Parameters:
targets- A collection of targets to crawl. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCrawlerPropsMixin>- Returns:
- a newly built instance of
CfnCrawlerPropsMixin.
-