#[non_exhaustive]pub struct UpdateTimeToLiveInputBuilder { /* private fields */ }
Expand description
A builder for UpdateTimeToLiveInput
.
Implementations§
Source§impl UpdateTimeToLiveInputBuilder
impl UpdateTimeToLiveInputBuilder
Sourcepub fn table_name(self, input: impl Into<String>) -> Self
pub fn table_name(self, input: impl Into<String>) -> Self
The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
This field is required.Sourcepub fn set_table_name(self, input: Option<String>) -> Self
pub fn set_table_name(self, input: Option<String>) -> Self
The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
Sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table to be configured. You can also provide the Amazon Resource Name (ARN) of the table in this parameter.
Sourcepub fn time_to_live_specification(self, input: TimeToLiveSpecification) -> Self
pub fn time_to_live_specification(self, input: TimeToLiveSpecification) -> Self
Represents the settings used to enable or disable Time to Live for the specified table.
This field is required.Sourcepub fn set_time_to_live_specification(
self,
input: Option<TimeToLiveSpecification>,
) -> Self
pub fn set_time_to_live_specification( self, input: Option<TimeToLiveSpecification>, ) -> Self
Represents the settings used to enable or disable Time to Live for the specified table.
Sourcepub fn get_time_to_live_specification(&self) -> &Option<TimeToLiveSpecification>
pub fn get_time_to_live_specification(&self) -> &Option<TimeToLiveSpecification>
Represents the settings used to enable or disable Time to Live for the specified table.
Sourcepub fn build(self) -> Result<UpdateTimeToLiveInput, BuildError>
pub fn build(self) -> Result<UpdateTimeToLiveInput, BuildError>
Consumes the builder and constructs a UpdateTimeToLiveInput
.
Source§impl UpdateTimeToLiveInputBuilder
impl UpdateTimeToLiveInputBuilder
Sourcepub async fn send_with(
self,
client: &Client,
) -> Result<UpdateTimeToLiveOutput, SdkError<UpdateTimeToLiveError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<UpdateTimeToLiveOutput, SdkError<UpdateTimeToLiveError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
Source§impl Clone for UpdateTimeToLiveInputBuilder
impl Clone for UpdateTimeToLiveInputBuilder
Source§fn clone(&self) -> UpdateTimeToLiveInputBuilder
fn clone(&self) -> UpdateTimeToLiveInputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for UpdateTimeToLiveInputBuilder
impl Debug for UpdateTimeToLiveInputBuilder
Source§impl Default for UpdateTimeToLiveInputBuilder
impl Default for UpdateTimeToLiveInputBuilder
Source§fn default() -> UpdateTimeToLiveInputBuilder
fn default() -> UpdateTimeToLiveInputBuilder
Source§impl PartialEq for UpdateTimeToLiveInputBuilder
impl PartialEq for UpdateTimeToLiveInputBuilder
Source§fn eq(&self, other: &UpdateTimeToLiveInputBuilder) -> bool
fn eq(&self, other: &UpdateTimeToLiveInputBuilder) -> bool
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for UpdateTimeToLiveInputBuilder
Auto Trait Implementations§
impl Freeze for UpdateTimeToLiveInputBuilder
impl RefUnwindSafe for UpdateTimeToLiveInputBuilder
impl Send for UpdateTimeToLiveInputBuilder
impl Sync for UpdateTimeToLiveInputBuilder
impl Unpin for UpdateTimeToLiveInputBuilder
impl UnwindSafe for UpdateTimeToLiveInputBuilder
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§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