Struct aws_sdk_glue::types::RecrawlPolicy
source · #[non_exhaustive]pub struct RecrawlPolicy {
pub recrawl_behavior: Option<RecrawlBehavior>,
}Expand description
When crawling an Amazon S3 data source after the first crawl is complete, specifies whether to crawl the entire dataset again or to crawl only folders that were added since the last crawler run. For more information, see Incremental Crawls in Glue in the developer guide.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.recrawl_behavior: 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.
Implementations§
source§impl RecrawlPolicy
impl RecrawlPolicy
sourcepub fn recrawl_behavior(&self) -> Option<&RecrawlBehavior>
pub fn 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.
source§impl RecrawlPolicy
impl RecrawlPolicy
sourcepub fn builder() -> RecrawlPolicyBuilder
pub fn builder() -> RecrawlPolicyBuilder
Creates a new builder-style object to manufacture RecrawlPolicy.
Trait Implementations§
source§impl Clone for RecrawlPolicy
impl Clone for RecrawlPolicy
source§fn clone(&self) -> RecrawlPolicy
fn clone(&self) -> RecrawlPolicy
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for RecrawlPolicy
impl Debug for RecrawlPolicy
source§impl PartialEq for RecrawlPolicy
impl PartialEq for RecrawlPolicy
source§fn eq(&self, other: &RecrawlPolicy) -> bool
fn eq(&self, other: &RecrawlPolicy) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RecrawlPolicy
Auto Trait Implementations§
impl Freeze for RecrawlPolicy
impl RefUnwindSafe for RecrawlPolicy
impl Send for RecrawlPolicy
impl Sync for RecrawlPolicy
impl Unpin for RecrawlPolicy
impl UnwindSafe for RecrawlPolicy
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