public static interface Crawler.Builder extends SdkPojo, CopyableBuilder<Crawler.Builder,Crawler>
| Modifier and Type | Method and Description |
|---|---|
Crawler.Builder |
classifiers(Collection<String> classifiers)
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
|
Crawler.Builder |
classifiers(String... classifiers)
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
|
Crawler.Builder |
configuration(String configuration)
Crawler configuration information.
|
Crawler.Builder |
crawlElapsedTime(Long crawlElapsedTime)
If the crawler is running, contains the total time elapsed since the last crawl began.
|
Crawler.Builder |
crawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration structure to be used by this crawler. |
Crawler.Builder |
creationTime(Instant creationTime)
The time that the crawler was created.
|
Crawler.Builder |
databaseName(String databaseName)
The name of the database in which the crawler's output is stored.
|
Crawler.Builder |
description(String description)
A description of the crawler.
|
default Crawler.Builder |
lakeFormationConfiguration(Consumer<LakeFormationConfiguration.Builder> lakeFormationConfiguration)
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role
credentials.
|
Crawler.Builder |
lakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role
credentials.
|
default Crawler.Builder |
lastCrawl(Consumer<LastCrawlInfo.Builder> lastCrawl)
The status of the last crawl, and potentially error information if an error occurred.
|
Crawler.Builder |
lastCrawl(LastCrawlInfo lastCrawl)
The status of the last crawl, and potentially error information if an error occurred.
|
Crawler.Builder |
lastUpdated(Instant lastUpdated)
The time that the crawler was last updated.
|
default Crawler.Builder |
lineageConfiguration(Consumer<LineageConfiguration.Builder> lineageConfiguration)
A configuration that specifies whether data lineage is enabled for the crawler.
|
Crawler.Builder |
lineageConfiguration(LineageConfiguration lineageConfiguration)
A configuration that specifies whether data lineage is enabled for the crawler.
|
Crawler.Builder |
name(String name)
The name of the crawler.
|
default Crawler.Builder |
recrawlPolicy(Consumer<RecrawlPolicy.Builder> 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.
|
Crawler.Builder |
recrawlPolicy(RecrawlPolicy 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.
|
Crawler.Builder |
role(String 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.
|
default Crawler.Builder |
schedule(Consumer<Schedule.Builder> schedule)
For scheduled crawlers, the schedule when the crawler runs.
|
Crawler.Builder |
schedule(Schedule schedule)
For scheduled crawlers, the schedule when the crawler runs.
|
default Crawler.Builder |
schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
The policy that specifies update and delete behaviors for the crawler.
|
Crawler.Builder |
schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy that specifies update and delete behaviors for the crawler.
|
Crawler.Builder |
state(CrawlerState state)
Indicates whether the crawler is running, or whether a run is pending.
|
Crawler.Builder |
state(String state)
Indicates whether the crawler is running, or whether a run is pending.
|
Crawler.Builder |
tablePrefix(String tablePrefix)
The prefix added to the names of tables that are created.
|
default Crawler.Builder |
targets(Consumer<CrawlerTargets.Builder> targets)
A collection of targets to crawl.
|
Crawler.Builder |
targets(CrawlerTargets targets)
A collection of targets to crawl.
|
Crawler.Builder |
version(Long version)
The version of the crawler.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCrawler.Builder name(String name)
The name of the crawler.
name - The name of the crawler.Crawler.Builder role(String 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.
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.Crawler.Builder targets(CrawlerTargets targets)
A collection of targets to crawl.
targets - A collection of targets to crawl.default Crawler.Builder targets(Consumer<CrawlerTargets.Builder> targets)
A collection of targets to crawl.
This is a convenience method that creates an instance of theCrawlerTargets.Builder avoiding the need
to create one manually via CrawlerTargets.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to targets(CrawlerTargets).
targets - a consumer that will call methods on CrawlerTargets.Buildertargets(CrawlerTargets)Crawler.Builder databaseName(String databaseName)
The name of the database in which the crawler's output is stored.
databaseName - The name of the database in which the crawler's output is stored.Crawler.Builder description(String description)
A description of the crawler.
description - A description of the crawler.Crawler.Builder classifiers(Collection<String> classifiers)
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
classifiers - A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.Crawler.Builder classifiers(String... classifiers)
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
classifiers - A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.Crawler.Builder recrawlPolicy(RecrawlPolicy 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 - A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were
added since the last crawler run.default Crawler.Builder recrawlPolicy(Consumer<RecrawlPolicy.Builder> 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 is a convenience method that creates an instance of theRecrawlPolicy.Builder avoiding the need
to create one manually via RecrawlPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to recrawlPolicy(RecrawlPolicy).
recrawlPolicy - a consumer that will call methods on RecrawlPolicy.BuilderrecrawlPolicy(RecrawlPolicy)Crawler.Builder schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy that specifies update and delete behaviors for the crawler.
schemaChangePolicy - The policy that specifies update and delete behaviors for the crawler.default Crawler.Builder schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
The policy that specifies update and delete behaviors for the crawler.
This is a convenience method that creates an instance of theSchemaChangePolicy.Builder avoiding the
need to create one manually via SchemaChangePolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to schemaChangePolicy(SchemaChangePolicy).
schemaChangePolicy - a consumer that will call methods on SchemaChangePolicy.BuilderschemaChangePolicy(SchemaChangePolicy)Crawler.Builder lineageConfiguration(LineageConfiguration lineageConfiguration)
A configuration that specifies whether data lineage is enabled for the crawler.
lineageConfiguration - A configuration that specifies whether data lineage is enabled for the crawler.default Crawler.Builder lineageConfiguration(Consumer<LineageConfiguration.Builder> lineageConfiguration)
A configuration that specifies whether data lineage is enabled for the crawler.
This is a convenience method that creates an instance of theLineageConfiguration.Builder avoiding
the need to create one manually via LineageConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to lineageConfiguration(LineageConfiguration).
lineageConfiguration - a consumer that will call methods on LineageConfiguration.BuilderlineageConfiguration(LineageConfiguration)Crawler.Builder state(String state)
Indicates whether the crawler is running, or whether a run is pending.
state - Indicates whether the crawler is running, or whether a run is pending.CrawlerState,
CrawlerStateCrawler.Builder state(CrawlerState state)
Indicates whether the crawler is running, or whether a run is pending.
state - Indicates whether the crawler is running, or whether a run is pending.CrawlerState,
CrawlerStateCrawler.Builder tablePrefix(String tablePrefix)
The prefix added to the names of tables that are created.
tablePrefix - The prefix added to the names of tables that are created.Crawler.Builder schedule(Schedule schedule)
For scheduled crawlers, the schedule when the crawler runs.
schedule - For scheduled crawlers, the schedule when the crawler runs.default Crawler.Builder schedule(Consumer<Schedule.Builder> schedule)
For scheduled crawlers, the schedule when the crawler runs.
This is a convenience method that creates an instance of theSchedule.Builder avoiding the need to
create one manually via Schedule.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to schedule(Schedule).
schedule - a consumer that will call methods on Schedule.Builderschedule(Schedule)Crawler.Builder crawlElapsedTime(Long crawlElapsedTime)
If the crawler is running, contains the total time elapsed since the last crawl began.
crawlElapsedTime - If the crawler is running, contains the total time elapsed since the last crawl began.Crawler.Builder creationTime(Instant creationTime)
The time that the crawler was created.
creationTime - The time that the crawler was created.Crawler.Builder lastUpdated(Instant lastUpdated)
The time that the crawler was last updated.
lastUpdated - The time that the crawler was last updated.Crawler.Builder lastCrawl(LastCrawlInfo lastCrawl)
The status of the last crawl, and potentially error information if an error occurred.
lastCrawl - The status of the last crawl, and potentially error information if an error occurred.default Crawler.Builder lastCrawl(Consumer<LastCrawlInfo.Builder> lastCrawl)
The status of the last crawl, and potentially error information if an error occurred.
This is a convenience method that creates an instance of theLastCrawlInfo.Builder avoiding the need
to create one manually via LastCrawlInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to lastCrawl(LastCrawlInfo).
lastCrawl - a consumer that will call methods on LastCrawlInfo.BuilderlastCrawl(LastCrawlInfo)Crawler.Builder version(Long version)
The version of the crawler.
version - The version of the crawler.Crawler.Builder configuration(String configuration)
Crawler configuration information. This versioned JSON string allows users to specify aspects of a crawler's behavior. For more information, see Setting crawler configuration options.
configuration - Crawler configuration information. This versioned JSON string allows users to specify aspects of a
crawler's behavior. For more information, see Setting crawler
configuration options.Crawler.Builder crawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the SecurityConfiguration structure to be used by this crawler.
crawlerSecurityConfiguration - The name of the SecurityConfiguration structure to be used by this crawler.Crawler.Builder lakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role credentials.
lakeFormationConfiguration - Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM
role credentials.default Crawler.Builder lakeFormationConfiguration(Consumer<LakeFormationConfiguration.Builder> lakeFormationConfiguration)
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role credentials.
This is a convenience method that creates an instance of theLakeFormationConfiguration.Builder
avoiding the need to create one manually via LakeFormationConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to lakeFormationConfiguration(LakeFormationConfiguration).
lakeFormationConfiguration - a consumer that will call methods on LakeFormationConfiguration.BuilderlakeFormationConfiguration(LakeFormationConfiguration)Copyright © 2023. All rights reserved.