Struct aws_sdk_glue::types::builders::CrawlerMetricsBuilder
source · #[non_exhaustive]pub struct CrawlerMetricsBuilder { /* private fields */ }Expand description
A builder for CrawlerMetrics.
Implementations§
source§impl CrawlerMetricsBuilder
impl CrawlerMetricsBuilder
sourcepub fn crawler_name(self, input: impl Into<String>) -> Self
pub fn crawler_name(self, input: impl Into<String>) -> Self
The name of the crawler.
sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
The name of the crawler.
sourcepub fn get_crawler_name(&self) -> &Option<String>
pub fn get_crawler_name(&self) -> &Option<String>
The name of the crawler.
sourcepub fn time_left_seconds(self, input: f64) -> Self
pub fn time_left_seconds(self, input: f64) -> Self
The estimated time left to complete a running crawl.
sourcepub fn set_time_left_seconds(self, input: Option<f64>) -> Self
pub fn set_time_left_seconds(self, input: Option<f64>) -> Self
The estimated time left to complete a running crawl.
sourcepub fn get_time_left_seconds(&self) -> &Option<f64>
pub fn get_time_left_seconds(&self) -> &Option<f64>
The estimated time left to complete a running crawl.
sourcepub fn still_estimating(self, input: bool) -> Self
pub fn still_estimating(self, input: bool) -> Self
True if the crawler is still estimating how long it will take to complete this run.
sourcepub fn set_still_estimating(self, input: Option<bool>) -> Self
pub fn set_still_estimating(self, input: Option<bool>) -> Self
True if the crawler is still estimating how long it will take to complete this run.
sourcepub fn get_still_estimating(&self) -> &Option<bool>
pub fn get_still_estimating(&self) -> &Option<bool>
True if the crawler is still estimating how long it will take to complete this run.
sourcepub fn last_runtime_seconds(self, input: f64) -> Self
pub fn last_runtime_seconds(self, input: f64) -> Self
The duration of the crawler's most recent run, in seconds.
sourcepub fn set_last_runtime_seconds(self, input: Option<f64>) -> Self
pub fn set_last_runtime_seconds(self, input: Option<f64>) -> Self
The duration of the crawler's most recent run, in seconds.
sourcepub fn get_last_runtime_seconds(&self) -> &Option<f64>
pub fn get_last_runtime_seconds(&self) -> &Option<f64>
The duration of the crawler's most recent run, in seconds.
sourcepub fn median_runtime_seconds(self, input: f64) -> Self
pub fn median_runtime_seconds(self, input: f64) -> Self
The median duration of this crawler's runs, in seconds.
sourcepub fn set_median_runtime_seconds(self, input: Option<f64>) -> Self
pub fn set_median_runtime_seconds(self, input: Option<f64>) -> Self
The median duration of this crawler's runs, in seconds.
sourcepub fn get_median_runtime_seconds(&self) -> &Option<f64>
pub fn get_median_runtime_seconds(&self) -> &Option<f64>
The median duration of this crawler's runs, in seconds.
sourcepub fn tables_created(self, input: i32) -> Self
pub fn tables_created(self, input: i32) -> Self
The number of tables created by this crawler.
sourcepub fn set_tables_created(self, input: Option<i32>) -> Self
pub fn set_tables_created(self, input: Option<i32>) -> Self
The number of tables created by this crawler.
sourcepub fn get_tables_created(&self) -> &Option<i32>
pub fn get_tables_created(&self) -> &Option<i32>
The number of tables created by this crawler.
sourcepub fn tables_updated(self, input: i32) -> Self
pub fn tables_updated(self, input: i32) -> Self
The number of tables updated by this crawler.
sourcepub fn set_tables_updated(self, input: Option<i32>) -> Self
pub fn set_tables_updated(self, input: Option<i32>) -> Self
The number of tables updated by this crawler.
sourcepub fn get_tables_updated(&self) -> &Option<i32>
pub fn get_tables_updated(&self) -> &Option<i32>
The number of tables updated by this crawler.
sourcepub fn tables_deleted(self, input: i32) -> Self
pub fn tables_deleted(self, input: i32) -> Self
The number of tables deleted by this crawler.
sourcepub fn set_tables_deleted(self, input: Option<i32>) -> Self
pub fn set_tables_deleted(self, input: Option<i32>) -> Self
The number of tables deleted by this crawler.
sourcepub fn get_tables_deleted(&self) -> &Option<i32>
pub fn get_tables_deleted(&self) -> &Option<i32>
The number of tables deleted by this crawler.
sourcepub fn build(self) -> CrawlerMetrics
pub fn build(self) -> CrawlerMetrics
Consumes the builder and constructs a CrawlerMetrics.
Trait Implementations§
source§impl Clone for CrawlerMetricsBuilder
impl Clone for CrawlerMetricsBuilder
source§fn clone(&self) -> CrawlerMetricsBuilder
fn clone(&self) -> CrawlerMetricsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CrawlerMetricsBuilder
impl Debug for CrawlerMetricsBuilder
source§impl Default for CrawlerMetricsBuilder
impl Default for CrawlerMetricsBuilder
source§fn default() -> CrawlerMetricsBuilder
fn default() -> CrawlerMetricsBuilder
source§impl PartialEq for CrawlerMetricsBuilder
impl PartialEq for CrawlerMetricsBuilder
impl StructuralPartialEq for CrawlerMetricsBuilder
Auto Trait Implementations§
impl Freeze for CrawlerMetricsBuilder
impl RefUnwindSafe for CrawlerMetricsBuilder
impl Send for CrawlerMetricsBuilder
impl Sync for CrawlerMetricsBuilder
impl Unpin for CrawlerMetricsBuilder
impl UnwindSafe for CrawlerMetricsBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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