Struct aws_sdk_glue::model::crawler_metrics::Builder
source · pub struct Builder { /* private fields */ }Expand description
A builder for CrawlerMetrics.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 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 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 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 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 build(self) -> CrawlerMetrics
pub fn build(self) -> CrawlerMetrics
Consumes the builder and constructs a CrawlerMetrics.