Struct aws_sdk_dynamodb::model::time_to_live_specification::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for TimeToLiveSpecification
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn enabled(self, input: bool) -> Self
pub fn enabled(self, input: bool) -> Self
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
sourcepub fn set_enabled(self, input: Option<bool>) -> Self
pub fn set_enabled(self, input: Option<bool>) -> Self
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
sourcepub fn attribute_name(self, input: impl Into<String>) -> Self
pub fn attribute_name(self, input: impl Into<String>) -> Self
The name of the TTL attribute used to store the expiration time for items in the table.
sourcepub fn set_attribute_name(self, input: Option<String>) -> Self
pub fn set_attribute_name(self, input: Option<String>) -> Self
The name of the TTL attribute used to store the expiration time for items in the table.
sourcepub fn build(self) -> TimeToLiveSpecification
pub fn build(self) -> TimeToLiveSpecification
Consumes the builder and constructs a TimeToLiveSpecification
.