Struct aws_sdk_glue::types::builders::TableOptimizerBuilder
source · #[non_exhaustive]pub struct TableOptimizerBuilder { /* private fields */ }Expand description
A builder for TableOptimizer.
Implementations§
source§impl TableOptimizerBuilder
impl TableOptimizerBuilder
sourcepub fn type(self, input: TableOptimizerType) -> Self
pub fn type(self, input: TableOptimizerType) -> Self
The type of table optimizer. Currently, the only valid value is compaction.
sourcepub fn set_type(self, input: Option<TableOptimizerType>) -> Self
pub fn set_type(self, input: Option<TableOptimizerType>) -> Self
The type of table optimizer. Currently, the only valid value is compaction.
sourcepub fn get_type(&self) -> &Option<TableOptimizerType>
pub fn get_type(&self) -> &Option<TableOptimizerType>
The type of table optimizer. Currently, the only valid value is compaction.
sourcepub fn configuration(self, input: TableOptimizerConfiguration) -> Self
pub fn configuration(self, input: TableOptimizerConfiguration) -> Self
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
sourcepub fn set_configuration(
self,
input: Option<TableOptimizerConfiguration>
) -> Self
pub fn set_configuration( self, input: Option<TableOptimizerConfiguration> ) -> Self
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
sourcepub fn get_configuration(&self) -> &Option<TableOptimizerConfiguration>
pub fn get_configuration(&self) -> &Option<TableOptimizerConfiguration>
A TableOptimizerConfiguration object that was specified when creating or updating a table optimizer.
sourcepub fn last_run(self, input: TableOptimizerRun) -> Self
pub fn last_run(self, input: TableOptimizerRun) -> Self
A TableOptimizerRun object representing the last run of the table optimizer.
sourcepub fn set_last_run(self, input: Option<TableOptimizerRun>) -> Self
pub fn set_last_run(self, input: Option<TableOptimizerRun>) -> Self
A TableOptimizerRun object representing the last run of the table optimizer.
sourcepub fn get_last_run(&self) -> &Option<TableOptimizerRun>
pub fn get_last_run(&self) -> &Option<TableOptimizerRun>
A TableOptimizerRun object representing the last run of the table optimizer.
sourcepub fn build(self) -> TableOptimizer
pub fn build(self) -> TableOptimizer
Consumes the builder and constructs a TableOptimizer.
Trait Implementations§
source§impl Clone for TableOptimizerBuilder
impl Clone for TableOptimizerBuilder
source§fn clone(&self) -> TableOptimizerBuilder
fn clone(&self) -> TableOptimizerBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for TableOptimizerBuilder
impl Debug for TableOptimizerBuilder
source§impl Default for TableOptimizerBuilder
impl Default for TableOptimizerBuilder
source§fn default() -> TableOptimizerBuilder
fn default() -> TableOptimizerBuilder
source§impl PartialEq for TableOptimizerBuilder
impl PartialEq for TableOptimizerBuilder
source§fn eq(&self, other: &TableOptimizerBuilder) -> bool
fn eq(&self, other: &TableOptimizerBuilder) -> bool
self and other values to be equal, and is used
by ==.