class
Amazonite::DynamoDB::TimeToLiveSpecification
- Amazonite::DynamoDB::TimeToLiveSpecification
- Reference
- Object
Overview
Represents the settings used to enable or disable Time to Live (TTL) for the specified table.
Included Modules
- JSON::Serializable
Defined in:
dynamodb/time_to_live_specification.crConstructors
- .new(enabled : Bool, attribute_name : String)
- .new(pull : JSON::PullParser)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#attribute_name : String
The name of the TTL attribute used to store the expiration time for items in the table.
-
#attribute_name=(attribute_name : String)
The name of the TTL attribute used to store the expiration time for items in the table.
-
#enabled : Bool
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
-
#enabled=(enabled : Bool)
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
-
#hash(hasher)
See
Object#hash(hasher) - #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The name of the TTL attribute used to store the expiration time for items in the table.
The name of the TTL attribute used to store the expiration time for items in the table.
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.