Class TimeToLiveDescription
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
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
Methods
Equals(TimeToLiveDescription?)
public bool Equals(TimeToLiveDescription? other)
Parameters
otherTimeToLiveDescription
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(TimeToLiveDescription?, TimeToLiveDescription?)
public static bool operator ==(TimeToLiveDescription? left, TimeToLiveDescription? right)
Parameters
leftTimeToLiveDescriptionrightTimeToLiveDescription
Returns
operator !=(TimeToLiveDescription?, TimeToLiveDescription?)
public static bool operator !=(TimeToLiveDescription? left, TimeToLiveDescription? right)
Parameters
leftTimeToLiveDescriptionrightTimeToLiveDescription