TimeToLiveSpecification class

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

Constructors

TimeToLiveSpecification({required String attributeName, required bool enabled})
TimeToLiveSpecification.fromJson(Map<String, dynamic> json)
factory

Properties

attributeName String
The name of the TTL attribute used to store the expiration time for items in the table.
final
enabled bool
Indicates whether TTL is to be enabled (true) or disabled (false) on the table.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited