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.
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 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.
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 build(self) -> Result<UpdateTimeToLiveInput, BuildError>
pub fn build(self) -> Result<UpdateTimeToLiveInput, BuildError>
Consumes the builder and constructs a UpdateTimeToLiveInput
.
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<UpdateTimeToLiveInputBuilder> for UpdateTimeToLiveInputBuilder
impl PartialEq<UpdateTimeToLiveInputBuilder> 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 ==
.