class Amazonite::DynamoDB::TimeToLiveSpecification

Overview

Represents the settings used to enable or disable Time to Live (TTL) for the specified table.

Included Modules

Defined in:

dynamodb/time_to_live_specification.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(enabled : Bool, attribute_name : String) #

[View source]
def self.new(pull : JSON::PullParser) #

[View source]
def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def attribute_name : String #

The name of the TTL attribute used to store the expiration time for items in the table.


[View source]
def attribute_name=(attribute_name : String) #

The name of the TTL attribute used to store the expiration time for items in the table.


[View source]
def enabled : Bool #

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.


[View source]
def enabled=(enabled : Bool) #

Indicates whether TTL is to be enabled (true) or disabled (false) on the table.


[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def validate! : Nil #

[View source]