Table of Contents

Class TimeToLiveDescription

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

The Time to Live state of a table as DynamoDB reports it.

public sealed record TimeToLiveDescription : IEquatable<TimeToLiveDescription>
Inheritance
TimeToLiveDescription
Implements
Inherited Members

Constructors

TimeToLiveDescription()

public TimeToLiveDescription()

Properties

AttributeName

Gets the name of the attribute that holds the expiry time. null when DynamoDB reports none, as for a table that never had Time to Live.

public string? AttributeName { get; init; }

Property Value

string

TimeToLiveStatus

Gets the state. A change takes up to an hour to take effect, so right after UpdateTimeToLive it is Enabling or Disabling. Unknown if DynamoDB reported none or one this library does not know.

public TimeToLiveStatus TimeToLiveStatus { get; init; }

Property Value

TimeToLiveStatus

Methods

Equals(TimeToLiveDescription?)

public bool Equals(TimeToLiveDescription? other)

Parameters

other TimeToLiveDescription

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(TimeToLiveDescription?, TimeToLiveDescription?)

public static bool operator ==(TimeToLiveDescription? left, TimeToLiveDescription? right)

Parameters

left TimeToLiveDescription
right TimeToLiveDescription

Returns

bool

operator !=(TimeToLiveDescription?, TimeToLiveDescription?)

public static bool operator !=(TimeToLiveDescription? left, TimeToLiveDescription? right)

Parameters

left TimeToLiveDescription
right TimeToLiveDescription

Returns

bool