public static interface CreateCrawlerRequest.Builder extends GlueRequest.Builder, CopyableBuilder<CreateCrawlerRequest.Builder,CreateCrawlerRequest>
Modifier and Type | Method and Description |
---|---|
CreateCrawlerRequest.Builder |
classifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered.
|
CreateCrawlerRequest.Builder |
classifiers(String... classifiers)
A list of custom classifiers that the user has registered.
|
CreateCrawlerRequest.Builder |
configuration(String configuration)
Crawler configuration information.
|
CreateCrawlerRequest.Builder |
databaseName(String databaseName)
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/* . |
CreateCrawlerRequest.Builder |
description(String description)
A description of the new crawler.
|
CreateCrawlerRequest.Builder |
name(String name)
Name of the new crawler.
|
CreateCrawlerRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
CreateCrawlerRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateCrawlerRequest.Builder |
role(String role)
The IAM role (or ARN of an IAM role) used by the new crawler to access customer resources.
|
CreateCrawlerRequest.Builder |
schedule(String schedule)
A
cron expression used to specify the schedule (see Time-Based Schedules
for Jobs and Crawlers. |
default CreateCrawlerRequest.Builder |
schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
CreateCrawlerRequest.Builder |
schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
|
CreateCrawlerRequest.Builder |
tablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
|
default CreateCrawlerRequest.Builder |
targets(Consumer<CrawlerTargets.Builder> targets)
A list of collection of targets to crawl.
|
CreateCrawlerRequest.Builder |
targets(CrawlerTargets targets)
A list of collection of targets to crawl.
|
build
overrideConfiguration
copy
applyMutation, build
CreateCrawlerRequest.Builder name(String name)
Name of the new crawler.
name
- Name of the new crawler.CreateCrawlerRequest.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.CreateCrawlerRequest.Builder databaseName(String databaseName)
The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.
databaseName
- The AWS Glue database where results are written, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.CreateCrawlerRequest.Builder description(String description)
A description of the new crawler.
description
- A description of the new crawler.CreateCrawlerRequest.Builder targets(CrawlerTargets targets)
A list of collection of targets to crawl.
targets
- A list of collection of targets to crawl.default CreateCrawlerRequest.Builder targets(Consumer<CrawlerTargets.Builder> targets)
A list of collection 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)
CreateCrawlerRequest.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 * * ? *)
.CreateCrawlerRequest.Builder classifiers(Collection<String> classifiers)
A list of custom classifiers that the user has registered. By default, all AWS 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 AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.CreateCrawlerRequest.Builder classifiers(String... classifiers)
A list of custom classifiers that the user has registered. By default, all AWS 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 AWS classifiers are
included in a crawl, but these custom classifiers always override the default classifiers for a given
classification.CreateCrawlerRequest.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.CreateCrawlerRequest.Builder schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
Policy for the crawler's update and deletion behavior.
schemaChangePolicy
- Policy for the crawler's update and deletion behavior.default CreateCrawlerRequest.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)
CreateCrawlerRequest.Builder configuration(String configuration)
Crawler configuration information. This versioned JSON string allows users to specify aspects of a Crawler's behavior.
You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition.
configuration
- Crawler configuration information. This versioned JSON string allows users to specify aspects of a
Crawler's behavior.
You can use this field to force partitions to inherit metadata such as classification, input format, output format, serde information, and schema from their parent table, rather than detect this information separately for each partition.
CreateCrawlerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateCrawlerRequest.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.