Struct aws_sdk_dynamodb::operation::update_time_to_live::builders::UpdateTimeToLiveInputBuilder
source · #[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.
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.
sourcepub fn get_table_name(&self) -> &Option<String>
pub fn get_table_name(&self) -> &Option<String>
The name of the table to be configured.
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
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 Debug for UpdateTimeToLiveInputBuilder
impl Debug for UpdateTimeToLiveInputBuilder
source§impl Default for UpdateTimeToLiveInputBuilder
impl Default for UpdateTimeToLiveInputBuilder
source§fn default() -> UpdateTimeToLiveInputBuilder
fn default() -> UpdateTimeToLiveInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UpdateTimeToLiveInputBuilder
impl PartialEq for UpdateTimeToLiveInputBuilder
source§fn eq(&self, other: &UpdateTimeToLiveInputBuilder) -> bool
fn eq(&self, other: &UpdateTimeToLiveInputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateTimeToLiveInputBuilder
Auto Trait Implementations§
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
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>
Creates a shared type from an unshared type.