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
source§fn eq(&self, other: &CrawlerMetricsBuilder) -> bool
fn eq(&self, other: &CrawlerMetricsBuilder) -> bool
self and other values to be equal, and is used
by ==.