Table of Contents

Class BillingModeSummary

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

How a table is billed and when it last switched to on-demand capacity.

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

Constructors

BillingModeSummary()

public BillingModeSummary()

Properties

BillingMode

Gets the billing mode of the table. Unspecified if DynamoDB reported none.

public BillingMode BillingMode { get; init; }

Property Value

BillingMode

LastUpdateToPayPerRequestDateTime

Gets when the table was last switched to PayPerRequest, or null if it never was. A table can be switched back and forth only once every 24 hours.

public DateTimeOffset? LastUpdateToPayPerRequestDateTime { get; init; }

Property Value

DateTimeOffset?

Methods

Equals(BillingModeSummary?)

public bool Equals(BillingModeSummary? other)

Parameters

other BillingModeSummary

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 ==(BillingModeSummary?, BillingModeSummary?)

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

Parameters

left BillingModeSummary
right BillingModeSummary

Returns

bool

operator !=(BillingModeSummary?, BillingModeSummary?)

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

Parameters

left BillingModeSummary
right BillingModeSummary

Returns

bool