Table of Contents

Class LocalSecondaryIndexDescription

Namespace
DynaSharp.Requests
Assembly
DynaSharp.dll

A local secondary index as DynamoDB reports it. Only the commonly needed subset of what DynamoDB returns.

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

Constructors

LocalSecondaryIndexDescription()

public LocalSecondaryIndexDescription()

Properties

IndexName

Gets the index name. DynamoDB sends it with every index: null only if the response omits it.

public string? IndexName { get; init; }

Property Value

string

KeySchema

Gets the key of the index.

public IReadOnlyList<KeySchemaElement> KeySchema { get; init; }

Property Value

IReadOnlyList<KeySchemaElement>

Projection

Gets the projection, or null if DynamoDB did not report one.

public IndexProjection? Projection { get; init; }

Property Value

IndexProjection

Methods

Equals(LocalSecondaryIndexDescription?)

public bool Equals(LocalSecondaryIndexDescription? other)

Parameters

other LocalSecondaryIndexDescription

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

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

Parameters

left LocalSecondaryIndexDescription
right LocalSecondaryIndexDescription

Returns

bool

operator !=(LocalSecondaryIndexDescription?, LocalSecondaryIndexDescription?)

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

Parameters

left LocalSecondaryIndexDescription
right LocalSecondaryIndexDescription

Returns

bool