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.Builderclassifiers(String... classifiers)A list of custom classifiers that the user has registered.UpdateCrawlerRequest.Builderclassifiers(Collection<String> classifiers)A list of custom classifiers that the user has registered.UpdateCrawlerRequest.Builderconfiguration(String configuration)Crawler configuration information.UpdateCrawlerRequest.BuildercrawlerSecurityConfiguration(String crawlerSecurityConfiguration)The name of theSecurityConfigurationstructure to be used by this crawler.UpdateCrawlerRequest.BuilderdatabaseName(String databaseName)The Glue database where results are stored, such as:arn:aws:daylight:us-east-1::database/sometable/*.UpdateCrawlerRequest.Builderdescription(String description)A description of the new crawler.default UpdateCrawlerRequest.BuilderlakeFormationConfiguration(Consumer<LakeFormationConfiguration.Builder> lakeFormationConfiguration)Specifies Lake Formation configuration settings for the crawler.UpdateCrawlerRequest.BuilderlakeFormationConfiguration(LakeFormationConfiguration lakeFormationConfiguration)Specifies Lake Formation configuration settings for the crawler.default UpdateCrawlerRequest.BuilderlineageConfiguration(Consumer<LineageConfiguration.Builder> lineageConfiguration)Specifies data lineage configuration settings for the crawler.UpdateCrawlerRequest.BuilderlineageConfiguration(LineageConfiguration lineageConfiguration)Specifies data lineage configuration settings for the crawler.UpdateCrawlerRequest.Buildername(String name)Name of the new crawler.UpdateCrawlerRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateCrawlerRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)default UpdateCrawlerRequest.BuilderrecrawlPolicy(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.BuilderrecrawlPolicy(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.Builderrole(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.Builderschedule(String schedule)Acronexpression used to specify the schedule (see Time-Based Schedules for Jobs and Crawlers.default UpdateCrawlerRequest.BuilderschemaChangePolicy(Consumer<SchemaChangePolicy.Builder> schemaChangePolicy)The policy for the crawler's update and deletion behavior.UpdateCrawlerRequest.BuilderschemaChangePolicy(SchemaChangePolicy schemaChangePolicy)The policy for the crawler's update and deletion behavior.UpdateCrawlerRequest.BuildertablePrefix(String tablePrefix)The table prefix used for catalog tables that are created.default UpdateCrawlerRequest.Buildertargets(Consumer<CrawlerTargets.Builder> targets)A list of targets to crawl.UpdateCrawlerRequest.Buildertargets(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaCrawlerTargets.builder().When the
Consumercompletes,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
cronexpression 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- Acronexpression 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.Builderavoiding the need to create one manually viaSchemaChangePolicy.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaRecrawlPolicy.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLineageConfiguration.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaLakeFormationConfiguration.builder().When the
Consumercompletes,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
SecurityConfigurationstructure to be used by this crawler.- Parameters:
crawlerSecurityConfiguration- The name of theSecurityConfigurationstructure 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:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateCrawlerRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-