Interface UpdateCrawlerRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateCrawlerRequest.Builder,UpdateCrawlerRequest>
,GlueRequest.Builder
,SdkBuilder<UpdateCrawlerRequest.Builder,UpdateCrawlerRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- UpdateCrawlerRequest
public static interface UpdateCrawlerRequest.Builder extends GlueRequest.Builder, SdkPojo, CopyableBuilder<UpdateCrawlerRequest.Builder,UpdateCrawlerRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateCrawlerRequest.Builder
classifiers(String... classifiers)
A list of custom classifiers that the user has registered.UpdateCrawlerRequest.Builder
classifiers(Collection<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 theSecurityConfiguration
structure to be used by this crawler.UpdateCrawlerRequest.Builder
databaseName(String databaseName)
The 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.default UpdateCrawlerRequest.Builder
lakeFormationConfiguration(Consumer<LakeFormationConfiguration.Builder> lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.UpdateCrawlerRequest.Builder
lakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.default UpdateCrawlerRequest.Builder
lineageConfiguration(Consumer<LineageConfiguration.Builder> lineageConfiguration)
Specifies data lineage configuration settings for the crawler.UpdateCrawlerRequest.Builder
lineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.UpdateCrawlerRequest.Builder
name(String name)
Name of the new crawler.UpdateCrawlerRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
UpdateCrawlerRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
default UpdateCrawlerRequest.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.UpdateCrawlerRequest.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.UpdateCrawlerRequest.Builder
role(String role)
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.UpdateCrawlerRequest.Builder
schedule(String schedule)
Acron
expression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers.default UpdateCrawlerRequest.Builder
schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
The policy for the crawler's update and deletion behavior.UpdateCrawlerRequest.Builder
schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The 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.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
name
UpdateCrawlerRequest.Builder name(String name)
Name of the new crawler.
- Parameters:
name
- Name of the new crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
UpdateCrawlerRequest.Builder role(String role)
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
- Parameters:
role
- The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseName
UpdateCrawlerRequest.Builder databaseName(String databaseName)
The Glue database where results are stored, such as:
arn:aws:daylight:us-east-1::database/sometable/*
.- Parameters:
databaseName
- The Glue database where results are stored, such as:arn:aws:daylight:us-east-1::database/sometable/*
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateCrawlerRequest.Builder description(String description)
A description of the new crawler.
- Parameters:
description
- A description of the new crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
UpdateCrawlerRequest.Builder targets(CrawlerTargets targets)
A list of targets to crawl.
- Parameters:
targets
- A list of targets to crawl.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
default UpdateCrawlerRequest.Builder targets(Consumer<CrawlerTargets.Builder> targets)
A list of targets to crawl.
This is a convenience method that creates an instance of theCrawlerTargets.Builder
avoiding the need to create one manually viaCrawlerTargets.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totargets(CrawlerTargets)
.- Parameters:
targets
- a consumer that will call methods onCrawlerTargets.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
targets(CrawlerTargets)
-
schedule
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 * * ? *)
.- Parameters:
schedule
- Acron
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 * * ? *)
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classifiers
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
classifiers
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tablePrefix
UpdateCrawlerRequest.Builder tablePrefix(String tablePrefix)
The table prefix used for catalog tables that are created.
- Parameters:
tablePrefix
- The table prefix used for catalog tables that are created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
UpdateCrawlerRequest.Builder schemaChangePolicy(SchemaChangePolicy schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
- Parameters:
schemaChangePolicy
- The policy for the crawler's update and deletion behavior.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schemaChangePolicy
default UpdateCrawlerRequest.Builder schemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)
The policy for the crawler's update and deletion behavior.
This is a convenience method that creates an instance of theSchemaChangePolicy.Builder
avoiding the need to create one manually viaSchemaChangePolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toschemaChangePolicy(SchemaChangePolicy)
.- Parameters:
schemaChangePolicy
- a consumer that will call methods onSchemaChangePolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schemaChangePolicy(SchemaChangePolicy)
-
recrawlPolicy
UpdateCrawlerRequest.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.
- 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recrawlPolicy
default UpdateCrawlerRequest.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 viaRecrawlPolicy.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecrawlPolicy(RecrawlPolicy)
.- Parameters:
recrawlPolicy
- a consumer that will call methods onRecrawlPolicy.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
recrawlPolicy(RecrawlPolicy)
-
lineageConfiguration
UpdateCrawlerRequest.Builder lineageConfiguration(LineageConfiguration lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
- Parameters:
lineageConfiguration
- Specifies data lineage configuration settings for the crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lineageConfiguration
default UpdateCrawlerRequest.Builder lineageConfiguration(Consumer<LineageConfiguration.Builder> lineageConfiguration)
Specifies data lineage configuration settings for the crawler.
This is a convenience method that creates an instance of theLineageConfiguration.Builder
avoiding the need to create one manually viaLineageConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolineageConfiguration(LineageConfiguration)
.- Parameters:
lineageConfiguration
- a consumer that will call methods onLineageConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lineageConfiguration(LineageConfiguration)
-
lakeFormationConfiguration
UpdateCrawlerRequest.Builder lakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
- Parameters:
lakeFormationConfiguration
- Specifies Lake Formation configuration settings for the crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lakeFormationConfiguration
default UpdateCrawlerRequest.Builder lakeFormationConfiguration(Consumer<LakeFormationConfiguration.Builder> lakeFormationConfiguration)
Specifies Lake Formation configuration settings for the crawler.
This is a convenience method that creates an instance of theLakeFormationConfiguration.Builder
avoiding the need to create one manually viaLakeFormationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolakeFormationConfiguration(LakeFormationConfiguration)
.- Parameters:
lakeFormationConfiguration
- a consumer that will call methods onLakeFormationConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
lakeFormationConfiguration(LakeFormationConfiguration)
-
configuration
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 Setting crawler configuration options.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crawlerSecurityConfiguration
UpdateCrawlerRequest.Builder crawlerSecurityConfiguration(String crawlerSecurityConfiguration)
The name of the
SecurityConfiguration
structure to be used by this crawler.- Parameters:
crawlerSecurityConfiguration
- The name of theSecurityConfiguration
structure to be used by this crawler.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateCrawlerRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCrawlerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-