Struct aws_sdk_glue::types::builders::CrawlerBuilder
source · #[non_exhaustive]pub struct CrawlerBuilder { /* private fields */ }Expand description
A builder for Crawler.
Implementations§
source§impl CrawlerBuilder
impl CrawlerBuilder
sourcepub fn role(self, input: impl Into<String>) -> Self
pub fn role(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
sourcepub fn set_role(self, input: Option<String>) -> Self
pub fn set_role(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
sourcepub fn get_role(&self) -> &Option<String>
pub fn get_role(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an IAM role that's used to access customer resources, such as Amazon Simple Storage Service (Amazon S3) data.
sourcepub fn targets(self, input: CrawlerTargets) -> Self
pub fn targets(self, input: CrawlerTargets) -> Self
A collection of targets to crawl.
sourcepub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
pub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
A collection of targets to crawl.
sourcepub fn get_targets(&self) -> &Option<CrawlerTargets>
pub fn get_targets(&self) -> &Option<CrawlerTargets>
A collection of targets to crawl.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database in which the crawler's output is stored.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database in which the crawler's output is stored.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database in which the crawler's output is stored.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the crawler.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the crawler.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the crawler.
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 UTF-8 strings that specify the custom classifiers that are associated with the crawler.
sourcepub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
pub fn set_classifiers(self, input: Option<Vec<String>>) -> Self
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
sourcepub fn get_classifiers(&self) -> &Option<Vec<String>>
pub fn get_classifiers(&self) -> &Option<Vec<String>>
A list of UTF-8 strings that specify the custom classifiers that are associated with the crawler.
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 schema_change_policy(self, input: SchemaChangePolicy) -> Self
pub fn schema_change_policy(self, input: SchemaChangePolicy) -> Self
The policy that specifies update and delete behaviors for the crawler.
sourcepub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
pub fn set_schema_change_policy(self, input: Option<SchemaChangePolicy>) -> Self
The policy that specifies update and delete behaviors for the crawler.
sourcepub fn get_schema_change_policy(&self) -> &Option<SchemaChangePolicy>
pub fn get_schema_change_policy(&self) -> &Option<SchemaChangePolicy>
The policy that specifies update and delete behaviors for the crawler.
sourcepub fn lineage_configuration(self, input: LineageConfiguration) -> Self
pub fn lineage_configuration(self, input: LineageConfiguration) -> Self
A configuration that specifies whether data lineage is enabled for the crawler.
sourcepub fn set_lineage_configuration(
self,
input: Option<LineageConfiguration>
) -> Self
pub fn set_lineage_configuration( self, input: Option<LineageConfiguration> ) -> Self
A configuration that specifies whether data lineage is enabled for the crawler.
sourcepub fn get_lineage_configuration(&self) -> &Option<LineageConfiguration>
pub fn get_lineage_configuration(&self) -> &Option<LineageConfiguration>
A configuration that specifies whether data lineage is enabled for the crawler.
sourcepub fn state(self, input: CrawlerState) -> Self
pub fn state(self, input: CrawlerState) -> Self
Indicates whether the crawler is running, or whether a run is pending.
sourcepub fn set_state(self, input: Option<CrawlerState>) -> Self
pub fn set_state(self, input: Option<CrawlerState>) -> Self
Indicates whether the crawler is running, or whether a run is pending.
sourcepub fn get_state(&self) -> &Option<CrawlerState>
pub fn get_state(&self) -> &Option<CrawlerState>
Indicates whether the crawler is running, or whether a run is pending.
sourcepub fn table_prefix(self, input: impl Into<String>) -> Self
pub fn table_prefix(self, input: impl Into<String>) -> Self
The prefix added to the names of 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 prefix added to the names of tables that are created.
sourcepub fn get_table_prefix(&self) -> &Option<String>
pub fn get_table_prefix(&self) -> &Option<String>
The prefix added to the names of tables that are created.
sourcepub fn schedule(self, input: Schedule) -> Self
pub fn schedule(self, input: Schedule) -> Self
For scheduled crawlers, the schedule when the crawler runs.
sourcepub fn set_schedule(self, input: Option<Schedule>) -> Self
pub fn set_schedule(self, input: Option<Schedule>) -> Self
For scheduled crawlers, the schedule when the crawler runs.
sourcepub fn get_schedule(&self) -> &Option<Schedule>
pub fn get_schedule(&self) -> &Option<Schedule>
For scheduled crawlers, the schedule when the crawler runs.
sourcepub fn crawl_elapsed_time(self, input: i64) -> Self
pub fn crawl_elapsed_time(self, input: i64) -> Self
If the crawler is running, contains the total time elapsed since the last crawl began.
sourcepub fn set_crawl_elapsed_time(self, input: Option<i64>) -> Self
pub fn set_crawl_elapsed_time(self, input: Option<i64>) -> Self
If the crawler is running, contains the total time elapsed since the last crawl began.
sourcepub fn get_crawl_elapsed_time(&self) -> &Option<i64>
pub fn get_crawl_elapsed_time(&self) -> &Option<i64>
If the crawler is running, contains the total time elapsed since the last crawl began.
sourcepub fn creation_time(self, input: DateTime) -> Self
pub fn creation_time(self, input: DateTime) -> Self
The time that the crawler was created.
sourcepub fn set_creation_time(self, input: Option<DateTime>) -> Self
pub fn set_creation_time(self, input: Option<DateTime>) -> Self
The time that the crawler was created.
sourcepub fn get_creation_time(&self) -> &Option<DateTime>
pub fn get_creation_time(&self) -> &Option<DateTime>
The time that the crawler was created.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time that the crawler was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time that the crawler was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time that the crawler was last updated.
sourcepub fn last_crawl(self, input: LastCrawlInfo) -> Self
pub fn last_crawl(self, input: LastCrawlInfo) -> Self
The status of the last crawl, and potentially error information if an error occurred.
sourcepub fn set_last_crawl(self, input: Option<LastCrawlInfo>) -> Self
pub fn set_last_crawl(self, input: Option<LastCrawlInfo>) -> Self
The status of the last crawl, and potentially error information if an error occurred.
sourcepub fn get_last_crawl(&self) -> &Option<LastCrawlInfo>
pub fn get_last_crawl(&self) -> &Option<LastCrawlInfo>
The status of the last crawl, and potentially error information if an error occurred.
sourcepub fn set_version(self, input: Option<i64>) -> Self
pub fn set_version(self, input: Option<i64>) -> Self
The version of the crawler.
sourcepub fn get_version(&self) -> &Option<i64>
pub fn get_version(&self) -> &Option<i64>
The version of 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 lake_formation_configuration(
self,
input: LakeFormationConfiguration
) -> Self
pub fn lake_formation_configuration( self, input: LakeFormationConfiguration ) -> Self
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role credentials.
sourcepub fn set_lake_formation_configuration(
self,
input: Option<LakeFormationConfiguration>
) -> Self
pub fn set_lake_formation_configuration( self, input: Option<LakeFormationConfiguration> ) -> Self
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role credentials.
sourcepub fn get_lake_formation_configuration(
&self
) -> &Option<LakeFormationConfiguration>
pub fn get_lake_formation_configuration( &self ) -> &Option<LakeFormationConfiguration>
Specifies whether the crawler should use Lake Formation credentials for the crawler instead of the IAM role credentials.
Trait Implementations§
source§impl Clone for CrawlerBuilder
impl Clone for CrawlerBuilder
source§fn clone(&self) -> CrawlerBuilder
fn clone(&self) -> CrawlerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CrawlerBuilder
impl Debug for CrawlerBuilder
source§impl Default for CrawlerBuilder
impl Default for CrawlerBuilder
source§fn default() -> CrawlerBuilder
fn default() -> CrawlerBuilder
source§impl PartialEq<CrawlerBuilder> for CrawlerBuilder
impl PartialEq<CrawlerBuilder> for CrawlerBuilder
source§fn eq(&self, other: &CrawlerBuilder) -> bool
fn eq(&self, other: &CrawlerBuilder) -> bool
self and other values to be equal, and is used
by ==.