#[non_exhaustive]pub struct CreateCrawlerInputBuilder { /* private fields */ }
Expand description
A builder for CreateCrawlerInput
.
Implementations§
source§impl CreateCrawlerInputBuilder
impl CreateCrawlerInputBuilder
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
Name of the new crawler.
This field is required.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 used by the new crawler to access customer resources.
This field is required.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 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 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 written, 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 written, 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 written, 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 collection of targets to crawl.
This field is required.sourcepub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
pub fn set_targets(self, input: Option<CrawlerTargets>) -> Self
A list of collection of targets to crawl.
sourcepub fn get_targets(&self) -> &Option<CrawlerTargets>
pub fn get_targets(&self) -> &Option<CrawlerTargets>
A list of collection 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.
Adds a key-value pair to tags
.
To override the contents of this collection use set_tags
.
The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
The tags to use with this crawler request. You may use tags to limit access to the crawler. For more information about tags in Glue, see Amazon Web Services Tags in Glue in the developer guide.
sourcepub fn build(self) -> Result<CreateCrawlerInput, BuildError>
pub fn build(self) -> Result<CreateCrawlerInput, BuildError>
Consumes the builder and constructs a CreateCrawlerInput
.
source§impl CreateCrawlerInputBuilder
impl CreateCrawlerInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<CreateCrawlerOutput, SdkError<CreateCrawlerError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<CreateCrawlerOutput, SdkError<CreateCrawlerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateCrawlerInputBuilder
impl Clone for CreateCrawlerInputBuilder
source§fn clone(&self) -> CreateCrawlerInputBuilder
fn clone(&self) -> CreateCrawlerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateCrawlerInputBuilder
impl Debug for CreateCrawlerInputBuilder
source§impl Default for CreateCrawlerInputBuilder
impl Default for CreateCrawlerInputBuilder
source§fn default() -> CreateCrawlerInputBuilder
fn default() -> CreateCrawlerInputBuilder
source§impl PartialEq for CreateCrawlerInputBuilder
impl PartialEq for CreateCrawlerInputBuilder
source§fn eq(&self, other: &CreateCrawlerInputBuilder) -> bool
fn eq(&self, other: &CreateCrawlerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateCrawlerInputBuilder
Auto Trait Implementations§
impl Freeze for CreateCrawlerInputBuilder
impl RefUnwindSafe for CreateCrawlerInputBuilder
impl Send for CreateCrawlerInputBuilder
impl Sync for CreateCrawlerInputBuilder
impl Unpin for CreateCrawlerInputBuilder
impl UnwindSafe for CreateCrawlerInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more