#[non_exhaustive]pub struct TableOptimizerConfigurationBuilder { /* private fields */ }
Expand description
A builder for TableOptimizerConfiguration
.
Implementations§
source§impl TableOptimizerConfigurationBuilder
impl TableOptimizerConfigurationBuilder
sourcepub fn role_arn(self, input: impl Into<String>) -> Self
pub fn role_arn(self, input: impl Into<String>) -> Self
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
sourcepub fn set_role_arn(self, input: Option<String>) -> Self
pub fn set_role_arn(self, input: Option<String>) -> Self
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
sourcepub fn get_role_arn(&self) -> &Option<String>
pub fn get_role_arn(&self) -> &Option<String>
A role passed by the caller which gives the service permission to update the resources associated with the optimizer on the caller's behalf.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Whether table optimization is enabled.
sourcepub fn get_enabled(&self) -> &Option<bool>
pub fn get_enabled(&self) -> &Option<bool>
Whether table optimization is enabled.
sourcepub fn build(self) -> TableOptimizerConfiguration
pub fn build(self) -> TableOptimizerConfiguration
Consumes the builder and constructs a TableOptimizerConfiguration
.
Trait Implementations§
source§impl Clone for TableOptimizerConfigurationBuilder
impl Clone for TableOptimizerConfigurationBuilder
source§fn clone(&self) -> TableOptimizerConfigurationBuilder
fn clone(&self) -> TableOptimizerConfigurationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for TableOptimizerConfigurationBuilder
impl Default for TableOptimizerConfigurationBuilder
source§fn default() -> TableOptimizerConfigurationBuilder
fn default() -> TableOptimizerConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for TableOptimizerConfigurationBuilder
impl PartialEq for TableOptimizerConfigurationBuilder
source§fn eq(&self, other: &TableOptimizerConfigurationBuilder) -> bool
fn eq(&self, other: &TableOptimizerConfigurationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for TableOptimizerConfigurationBuilder
Auto Trait Implementations§
impl Freeze for TableOptimizerConfigurationBuilder
impl RefUnwindSafe for TableOptimizerConfigurationBuilder
impl Send for TableOptimizerConfigurationBuilder
impl Sync for TableOptimizerConfigurationBuilder
impl Unpin for TableOptimizerConfigurationBuilder
impl UnwindSafe for TableOptimizerConfigurationBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.