public static interface UpdateCrawlerRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateCrawlerRequest.Builder,UpdateCrawlerRequest>
Modifier and Type | Method and Description |
---|---|
UpdateCrawlerRequest.Builder |
classifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered.
|
UpdateCrawlerRequest.Builder |
classifiers(String... classifiers)
A list of custom classifiers that the user has registered.
|
UpdateCrawlerRequest.Builder |
configuration(String configuration)
Crawler configuration information.
|
UpdateCrawlerRequest.Builder |
crawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the SecurityConfiguration structure to be used by this Crawler.
|
UpdateCrawlerRequest.Builder |
databaseName(String databaseName)
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
UpdateCrawlerRequest.Builder |
description(String description)
A description of the new crawler.
|
UpdateCrawlerRequest.Builder |
name(String name)
Name of the new crawler.
|
UpdateCrawlerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateCrawlerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateCrawlerRequest.Builder |
role(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
|
UpdateCrawlerRequest.Builder |
schedule(String schedule)
A
cron expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. |
default UpdateCrawlerRequest.Builder |
schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
UpdateCrawlerRequest.Builder |
schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
UpdateCrawlerRequest.Builder |
tablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
default UpdateCrawlerRequest.Builder |
targets(Consumer<CrawlerTargets.Builder> targets)
A list of targets to crawl.
|
UpdateCrawlerRequest.Builder |
targets(CrawlerTargets targets)
A list of targets to crawl.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateCrawlerRequest.Builder name(String name)
Name of the new crawler.
name
- Name of the new crawler.UpdateCrawlerRequest.Builder role(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
role
- The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.UpdateCrawlerRequest.Builder databaseName(String databaseName)
The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.UpdateCrawlerRequest.Builder description(String description)
A description of the new crawler.
description
- A description of the new crawler.UpdateCrawlerRequest.Builder targets(CrawlerTargets targets)
A list of targets to crawl.
targets
- A list of targets to crawl.default UpdateCrawlerRequest.Builder targets(Consumer<CrawlerTargets.Builder> targets)
A list of targets to crawl.
This is a convenience 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.Builder
targets(CrawlerTargets)
UpdateCrawlerRequest.Builder schedule(String schedule)
A cron
expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would specify:
cron(15 12 * * ? *)
.
schedule
- A cron
expression used to specify the schedule (see Time-Based
Schedules for Jobs and Crawlers. For example, to run something every day at 12:15 UTC, you would
specify: cron(15 12 * * ? *)
.UpdateCrawlerRequest.Builder classifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
classifiers
- A list of custom classifiers that the user has registered. By default, all built-in classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.UpdateCrawlerRequest.Builder classifiers(String... classifiers)
A list of custom classifiers that the user has registered. By default, all built-in classifiers are included in a crawl, but these custom classifiers always override the default classifiers for a given classification.
classifiers
- A list of custom classifiers that the user has registered. By default, all built-in classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.UpdateCrawlerRequest.Builder tablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
tablePrefix
- The table prefix used for catalog tables that are created.UpdateCrawlerRequest.Builder schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
schemaChangePolicy
- Policy for the crawler's update and deletion behavior.default UpdateCrawlerRequest.Builder schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
This is a convenience 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.Builder
schemaChangePolicy(SchemaChangePolicy)
UpdateCrawlerRequest.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 Configuring a Crawler.
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.UpdateCrawlerRequest.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.UpdateCrawlerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateCrawlerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.