Struct aws_sdk_glue::types::builders::CrawlerHistoryBuilder
source · #[non_exhaustive]pub struct CrawlerHistoryBuilder { /* private fields */ }
Expand description
A builder for CrawlerHistory
.
Implementations§
source§impl CrawlerHistoryBuilder
impl CrawlerHistoryBuilder
sourcepub fn set_crawl_id(self, input: Option<String>) -> Self
pub fn set_crawl_id(self, input: Option<String>) -> Self
A UUID identifier for each crawl.
sourcepub fn get_crawl_id(&self) -> &Option<String>
pub fn get_crawl_id(&self) -> &Option<String>
A UUID identifier for each crawl.
sourcepub fn state(self, input: CrawlerHistoryState) -> Self
pub fn state(self, input: CrawlerHistoryState) -> Self
The state of the crawl.
sourcepub fn set_state(self, input: Option<CrawlerHistoryState>) -> Self
pub fn set_state(self, input: Option<CrawlerHistoryState>) -> Self
The state of the crawl.
sourcepub fn get_state(&self) -> &Option<CrawlerHistoryState>
pub fn get_state(&self) -> &Option<CrawlerHistoryState>
The state of the crawl.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The date and time on which the crawl started.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The date and time on which the crawl started.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The date and time on which the crawl started.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The date and time on which the crawl ended.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The date and time on which the crawl ended.
sourcepub fn summary(self, input: impl Into<String>) -> Self
pub fn summary(self, input: impl Into<String>) -> Self
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
sourcepub fn set_summary(self, input: Option<String>) -> Self
pub fn set_summary(self, input: Option<String>) -> Self
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
sourcepub fn get_summary(&self) -> &Option<String>
pub fn get_summary(&self) -> &Option<String>
A run summary for the specific crawl in JSON. Contains the catalog tables and partitions that were added, updated, or deleted.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
If an error occurred, 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
If an error occurred, the error message associated with the crawl.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
If an error occurred, 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.
sourcepub fn message_prefix(self, input: impl Into<String>) -> Self
pub fn message_prefix(self, input: impl Into<String>) -> Self
The prefix for a CloudWatch message about this crawl.
sourcepub fn set_message_prefix(self, input: Option<String>) -> Self
pub fn set_message_prefix(self, input: Option<String>) -> Self
The prefix for a CloudWatch message about this crawl.
sourcepub fn get_message_prefix(&self) -> &Option<String>
pub fn get_message_prefix(&self) -> &Option<String>
The prefix for a CloudWatch message about this crawl.
sourcepub fn dpu_hour(self, input: f64) -> Self
pub fn dpu_hour(self, input: f64) -> Self
The number of data processing units (DPU) used in hours for the crawl.
sourcepub fn set_dpu_hour(self, input: Option<f64>) -> Self
pub fn set_dpu_hour(self, input: Option<f64>) -> Self
The number of data processing units (DPU) used in hours for the crawl.
sourcepub fn get_dpu_hour(&self) -> &Option<f64>
pub fn get_dpu_hour(&self) -> &Option<f64>
The number of data processing units (DPU) used in hours for the crawl.
sourcepub fn build(self) -> CrawlerHistory
pub fn build(self) -> CrawlerHistory
Consumes the builder and constructs a CrawlerHistory
.
Trait Implementations§
source§impl Clone for CrawlerHistoryBuilder
impl Clone for CrawlerHistoryBuilder
source§fn clone(&self) -> CrawlerHistoryBuilder
fn clone(&self) -> CrawlerHistoryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CrawlerHistoryBuilder
impl Debug for CrawlerHistoryBuilder
source§impl Default for CrawlerHistoryBuilder
impl Default for CrawlerHistoryBuilder
source§fn default() -> CrawlerHistoryBuilder
fn default() -> CrawlerHistoryBuilder
source§impl PartialEq for CrawlerHistoryBuilder
impl PartialEq for CrawlerHistoryBuilder
source§fn eq(&self, other: &CrawlerHistoryBuilder) -> bool
fn eq(&self, other: &CrawlerHistoryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CrawlerHistoryBuilder
Auto Trait Implementations§
impl Freeze for CrawlerHistoryBuilder
impl RefUnwindSafe for CrawlerHistoryBuilder
impl Send for CrawlerHistoryBuilder
impl Sync for CrawlerHistoryBuilder
impl Unpin for CrawlerHistoryBuilder
impl UnwindSafe for CrawlerHistoryBuilder
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