Struct aws_sdk_glue::types::builders::TableOptimizerRunBuilder
source · #[non_exhaustive]pub struct TableOptimizerRunBuilder { /* private fields */ }Expand description
A builder for TableOptimizerRun.
Implementations§
source§impl TableOptimizerRunBuilder
impl TableOptimizerRunBuilder
sourcepub fn event_type(self, input: TableOptimizerEventType) -> Self
pub fn event_type(self, input: TableOptimizerEventType) -> Self
An event type representing the status of the table optimizer run.
sourcepub fn set_event_type(self, input: Option<TableOptimizerEventType>) -> Self
pub fn set_event_type(self, input: Option<TableOptimizerEventType>) -> Self
An event type representing the status of the table optimizer run.
sourcepub fn get_event_type(&self) -> &Option<TableOptimizerEventType>
pub fn get_event_type(&self) -> &Option<TableOptimizerEventType>
An event type representing the status of the table optimizer run.
sourcepub fn start_timestamp(self, input: DateTime) -> Self
pub fn start_timestamp(self, input: DateTime) -> Self
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
sourcepub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_start_timestamp(self, input: Option<DateTime>) -> Self
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
sourcepub fn get_start_timestamp(&self) -> &Option<DateTime>
pub fn get_start_timestamp(&self) -> &Option<DateTime>
Represents the epoch timestamp at which the compaction job was started within Lake Formation.
sourcepub fn end_timestamp(self, input: DateTime) -> Self
pub fn end_timestamp(self, input: DateTime) -> Self
Represents the epoch timestamp at which the compaction job ended.
sourcepub fn set_end_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_end_timestamp(self, input: Option<DateTime>) -> Self
Represents the epoch timestamp at which the compaction job ended.
sourcepub fn get_end_timestamp(&self) -> &Option<DateTime>
pub fn get_end_timestamp(&self) -> &Option<DateTime>
Represents the epoch timestamp at which the compaction job ended.
sourcepub fn metrics(self, input: RunMetrics) -> Self
pub fn metrics(self, input: RunMetrics) -> Self
A RunMetrics object containing metrics for the optimizer run.
sourcepub fn set_metrics(self, input: Option<RunMetrics>) -> Self
pub fn set_metrics(self, input: Option<RunMetrics>) -> Self
A RunMetrics object containing metrics for the optimizer run.
sourcepub fn get_metrics(&self) -> &Option<RunMetrics>
pub fn get_metrics(&self) -> &Option<RunMetrics>
A RunMetrics object containing metrics for the optimizer run.
sourcepub fn error(self, input: impl Into<String>) -> Self
pub fn error(self, input: impl Into<String>) -> Self
An error that occured during the optimizer run.
sourcepub fn set_error(self, input: Option<String>) -> Self
pub fn set_error(self, input: Option<String>) -> Self
An error that occured during the optimizer run.
sourcepub fn build(self) -> TableOptimizerRun
pub fn build(self) -> TableOptimizerRun
Consumes the builder and constructs a TableOptimizerRun.
Trait Implementations§
source§impl Clone for TableOptimizerRunBuilder
impl Clone for TableOptimizerRunBuilder
source§fn clone(&self) -> TableOptimizerRunBuilder
fn clone(&self) -> TableOptimizerRunBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TableOptimizerRunBuilder
impl Debug for TableOptimizerRunBuilder
source§impl Default for TableOptimizerRunBuilder
impl Default for TableOptimizerRunBuilder
source§fn default() -> TableOptimizerRunBuilder
fn default() -> TableOptimizerRunBuilder
source§impl PartialEq for TableOptimizerRunBuilder
impl PartialEq for TableOptimizerRunBuilder
source§fn eq(&self, other: &TableOptimizerRunBuilder) -> bool
fn eq(&self, other: &TableOptimizerRunBuilder) -> bool
self and other values to be equal, and is used
by ==.