Struct aws_sdk_glue::input::update_crawler_input::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for UpdateCrawlerInput.
Implementations§
source§impl Builder
impl Builder
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The IAM role or Amazon Resource Name (ARN) of an IAM role that is used by the new crawler to access customer resources.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The Glue database where results are stored, such as: arn:aws:daylight:us-east-1::database/sometable/*.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the new crawler.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the new crawler.
sourcepub fn targets(self, input: CrawlerTargets) -> Self
pub fn targets(self, input: CrawlerTargets) -> Self
A list of targets to crawl.
sourcepub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
pub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
A list of targets to crawl.
sourcepub fn schedule(self, input: impl Into<String>) -> Self
pub fn schedule(self, input: impl Into<String>) -> Self
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 * * ? *).
sourcepub fn set_schedule(self, input: Option<String>) -> Self
pub fn set_schedule(self, input: Option<String>) -> Self
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 * * ? *).
sourcepub fn classifiers(self, input: impl Into<String>) -> Self
pub fn classifiers(self, input: impl Into<String>) -> Self
Appends an item to classifiers.
To override the contents of this collection use set_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.
sourcepub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
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.
sourcepub fn table_prefix(self, input: impl Into<String>) -> Self
pub fn table_prefix(self, input: impl Into<String>) -> Self
The table prefix used for catalog tables that are created.
sourcepub fn set_table_prefix(self, input: Option<String>) -> Self
pub fn set_table_prefix(self, input: Option<String>) -> Self
The table prefix used for catalog tables that are created.
sourcepub fn schema_change_policy(self, input: SchemaChangePolicy) -> Self
pub fn schema_change_policy(self, input: SchemaChangePolicy) -> Self
The policy for the crawler's update and deletion behavior.
sourcepub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
pub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
The policy for the crawler's update and deletion behavior.
sourcepub fn recrawl_policy(self, input: RecrawlPolicy) -> Self
pub fn recrawl_policy(self, input: RecrawlPolicy) -> Self
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
sourcepub fn set_recrawl_policy(self, input: Option<RecrawlPolicy>) -> Self
pub fn set_recrawl_policy(self, input: Option<RecrawlPolicy>) -> Self
A policy that specifies whether to crawl the entire dataset again, or to crawl only folders that were added since the last crawler run.
sourcepub fn lineage_configuration(self, input: LineageConfiguration) -> Self
pub fn lineage_configuration(self, input: LineageConfiguration) -> Self
Specifies data lineage configuration settings for the crawler.
sourcepub fn set_lineage_configuration(
self,
input: Option<LineageConfiguration>
) -> Self
pub fn set_lineage_configuration(
self,
input: Option<LineageConfiguration>
) -> Self
Specifies data lineage configuration settings for the crawler.
sourcepub fn lake_formation_configuration(
self,
input: LakeFormationConfiguration
) -> Self
pub fn lake_formation_configuration(
self,
input: LakeFormationConfiguration
) -> Self
Specifies Lake Formation configuration settings for the crawler.
sourcepub fn set_lake_formation_configuration(
self,
input: Option<LakeFormationConfiguration>
) -> Self
pub fn set_lake_formation_configuration(
self,
input: Option<LakeFormationConfiguration>
) -> Self
Specifies Lake Formation configuration settings for the crawler.
sourcepub fn configuration(self, input: impl Into<String>) -> Self
pub fn configuration(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_configuration(self, input: Option<String>) -> Self
pub fn set_configuration(self, input: Option<String>) -> Self
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.
sourcepub fn crawler_security_configuration(self, input: impl Into<String>) -> Self
pub fn crawler_security_configuration(self, input: impl Into<String>) -> Self
The name of the SecurityConfiguration structure to be used by this crawler.
sourcepub fn set_crawler_security_configuration(self, input: Option<String>) -> Self
pub fn set_crawler_security_configuration(self, input: Option<String>) -> Self
The name of the SecurityConfiguration structure to be used by this crawler.
sourcepub fn build(self) -> Result<UpdateCrawlerInput, BuildError>
pub fn build(self) -> Result<UpdateCrawlerInput, BuildError>
Consumes the builder and constructs a UpdateCrawlerInput.