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 for RecrawlPolicyBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for RecrawlPolicyBuilder
Auto Trait Implementations§
impl Freeze for RecrawlPolicyBuilder
impl RefUnwindSafe for RecrawlPolicyBuilder
impl Send for RecrawlPolicyBuilder
impl Sync for RecrawlPolicyBuilder
impl Unpin for RecrawlPolicyBuilder
impl UnwindSafe for RecrawlPolicyBuilder
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