#[non_exhaustive]pub struct UpdateCrawlerInputBuilder { /* private fields */ }Expand description
A builder for UpdateCrawlerInput.
Implementations§
source§impl UpdateCrawlerInputBuilder
impl UpdateCrawlerInputBuilder
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 get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
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 get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
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 get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
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 get_targets(&self) -> &Option<CrawlerTargets>
pub fn get_targets(&self) -> &Option<CrawlerTargets>
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 get_schedule(&self) -> &Option<String>
pub fn get_schedule(&self) -> &Option<String>
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 get_classifiers(&self) -> &Option<Vec<String>>
pub fn get_classifiers(&self) -> &Option<Vec<String>>
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 get_table_prefix(&self) -> &Option<String>
pub fn get_table_prefix(&self) -> &Option<String>
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 get_schema_change_policy(&self) -> &Option<SchemaChangePolicy>
pub fn get_schema_change_policy(&self) -> &Option<SchemaChangePolicy>
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 get_recrawl_policy(&self) -> &Option<RecrawlPolicy>
pub fn get_recrawl_policy(&self) -> &Option<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.
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 get_lineage_configuration(&self) -> &Option<LineageConfiguration>
pub fn get_lineage_configuration(&self) -> &Option<LineageConfiguration>
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 get_lake_formation_configuration(
&self
) -> &Option<LakeFormationConfiguration>
pub fn get_lake_formation_configuration( &self ) -> &Option<LakeFormationConfiguration>
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 get_configuration(&self) -> &Option<String>
pub fn get_configuration(&self) -> &Option<String>
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 get_crawler_security_configuration(&self) -> &Option<String>
pub fn get_crawler_security_configuration(&self) -> &Option<String>
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.
source§impl UpdateCrawlerInputBuilder
impl UpdateCrawlerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<UpdateCrawlerOutput, SdkError<UpdateCrawlerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<UpdateCrawlerOutput, SdkError<UpdateCrawlerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for UpdateCrawlerInputBuilder
impl Clone for UpdateCrawlerInputBuilder
source§fn clone(&self) -> UpdateCrawlerInputBuilder
fn clone(&self) -> UpdateCrawlerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateCrawlerInputBuilder
impl Debug for UpdateCrawlerInputBuilder
source§impl Default for UpdateCrawlerInputBuilder
impl Default for UpdateCrawlerInputBuilder
source§fn default() -> UpdateCrawlerInputBuilder
fn default() -> UpdateCrawlerInputBuilder
source§impl PartialEq<UpdateCrawlerInputBuilder> for UpdateCrawlerInputBuilder
impl PartialEq<UpdateCrawlerInputBuilder> for UpdateCrawlerInputBuilder
source§fn eq(&self, other: &UpdateCrawlerInputBuilder) -> bool
fn eq(&self, other: &UpdateCrawlerInputBuilder) -> bool
self and other values to be equal, and is used
by ==.