Struct aws_sdk_glue::types::builders::RecrawlPolicyBuilder
source · #[non_exhaustive]pub struct RecrawlPolicyBuilder { /* private fields */ }Expand description
A builder for RecrawlPolicy.
Implementations§
source§impl RecrawlPolicyBuilder
impl RecrawlPolicyBuilder
sourcepub fn recrawl_behavior(self, input: RecrawlBehavior) -> Self
pub fn recrawl_behavior(self, input: RecrawlBehavior) -> Self
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.
A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.
A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.
sourcepub fn set_recrawl_behavior(self, input: Option<RecrawlBehavior>) -> Self
pub fn set_recrawl_behavior(self, input: Option<RecrawlBehavior>) -> Self
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.
A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.
A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.
sourcepub fn get_recrawl_behavior(&self) -> &Option<RecrawlBehavior>
pub fn get_recrawl_behavior(&self) -> &Option<RecrawlBehavior>
Specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run.
A value of CRAWL_EVERYTHING specifies crawling the entire dataset again.
A value of CRAWL_NEW_FOLDERS_ONLY specifies crawling only folders that were added since the last crawler run.
A value of CRAWL_EVENT_MODE specifies crawling only the changes identified by Amazon S3 events.
sourcepub fn build(self) -> RecrawlPolicy
pub fn build(self) -> RecrawlPolicy
Consumes the builder and constructs a RecrawlPolicy.
Trait Implementations§
source§impl Clone for RecrawlPolicyBuilder
impl Clone for RecrawlPolicyBuilder
source§fn clone(&self) -> RecrawlPolicyBuilder
fn clone(&self) -> RecrawlPolicyBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecrawlPolicyBuilder
impl Debug for RecrawlPolicyBuilder
source§impl Default for RecrawlPolicyBuilder
impl Default for RecrawlPolicyBuilder
source§fn default() -> RecrawlPolicyBuilder
fn default() -> RecrawlPolicyBuilder
source§impl PartialEq<RecrawlPolicyBuilder> for RecrawlPolicyBuilder
impl PartialEq<RecrawlPolicyBuilder> for RecrawlPolicyBuilder
source§fn eq(&self, other: &RecrawlPolicyBuilder) -> bool
fn eq(&self, other: &RecrawlPolicyBuilder) -> bool
self and other values to be equal, and is used
by ==.