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 ==.impl StructuralPartialEq for TableOptimizerBuilder
Auto Trait Implementations§
impl Freeze for TableOptimizerBuilder
impl RefUnwindSafe for TableOptimizerBuilder
impl Send for TableOptimizerBuilder
impl Sync for TableOptimizerBuilder
impl Unpin for TableOptimizerBuilder
impl UnwindSafe for TableOptimizerBuilder
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