Struct aws_sdk_glue::types::builders::CrawlBuilder
source · #[non_exhaustive]pub struct CrawlBuilder { /* private fields */ }Expand description
A builder for Crawl.
Implementations§
source§impl CrawlBuilder
impl CrawlBuilder
sourcepub fn state(self, input: CrawlState) -> Self
pub fn state(self, input: CrawlState) -> Self
The state of the crawler.
sourcepub fn set_state(self, input: Option<CrawlState>) -> Self
pub fn set_state(self, input: Option<CrawlState>) -> Self
The state of the crawler.
sourcepub fn get_state(&self) -> &Option<CrawlState>
pub fn get_state(&self) -> &Option<CrawlState>
The state of the crawler.
sourcepub fn started_on(self, input: DateTime) -> Self
pub fn started_on(self, input: DateTime) -> Self
The date and time on which the crawl started.
sourcepub fn set_started_on(self, input: Option<DateTime>) -> Self
pub fn set_started_on(self, input: Option<DateTime>) -> Self
The date and time on which the crawl started.
sourcepub fn get_started_on(&self) -> &Option<DateTime>
pub fn get_started_on(&self) -> &Option<DateTime>
The date and time on which the crawl started.
sourcepub fn completed_on(self, input: DateTime) -> Self
pub fn completed_on(self, input: DateTime) -> Self
The date and time on which the crawl completed.
sourcepub fn set_completed_on(self, input: Option<DateTime>) -> Self
pub fn set_completed_on(self, input: Option<DateTime>) -> Self
The date and time on which the crawl completed.
sourcepub fn get_completed_on(&self) -> &Option<DateTime>
pub fn get_completed_on(&self) -> &Option<DateTime>
The date and time on which the crawl completed.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message associated with the crawl.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message associated with the crawl.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message associated with the crawl.
sourcepub fn log_group(self, input: impl Into<String>) -> Self
pub fn log_group(self, input: impl Into<String>) -> Self
The log group associated with the crawl.
sourcepub fn set_log_group(self, input: Option<String>) -> Self
pub fn set_log_group(self, input: Option<String>) -> Self
The log group associated with the crawl.
sourcepub fn get_log_group(&self) -> &Option<String>
pub fn get_log_group(&self) -> &Option<String>
The log group associated with the crawl.
sourcepub fn log_stream(self, input: impl Into<String>) -> Self
pub fn log_stream(self, input: impl Into<String>) -> Self
The log stream associated with the crawl.
sourcepub fn set_log_stream(self, input: Option<String>) -> Self
pub fn set_log_stream(self, input: Option<String>) -> Self
The log stream associated with the crawl.
sourcepub fn get_log_stream(&self) -> &Option<String>
pub fn get_log_stream(&self) -> &Option<String>
The log stream associated with the crawl.
Trait Implementations§
source§impl Clone for CrawlBuilder
impl Clone for CrawlBuilder
source§fn clone(&self) -> CrawlBuilder
fn clone(&self) -> CrawlBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for CrawlBuilder
impl Debug for CrawlBuilder
source§impl Default for CrawlBuilder
impl Default for CrawlBuilder
source§fn default() -> CrawlBuilder
fn default() -> CrawlBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CrawlBuilder
impl PartialEq for CrawlBuilder
source§fn eq(&self, other: &CrawlBuilder) -> bool
fn eq(&self, other: &CrawlBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CrawlBuilder
Auto Trait Implementations§
impl Freeze for CrawlBuilder
impl RefUnwindSafe for CrawlBuilder
impl Send for CrawlBuilder
impl Sync for CrawlBuilder
impl Unpin for CrawlBuilder
impl UnwindSafe for CrawlBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.