AWS SDK for .NET Documentation
KeysAndAttributes Class
AmazonAmazon.DynamoDBv2.ModelKeysAndAttributes Did this page help you?   Yes   No    Tell us about it...

Represents a set of primary keys and, for each key, the attributes to retrieve from the table.

Declaration Syntax
C#
public class KeysAndAttributes
Members
All MembersConstructorsMethodsProperties



IconMemberDescription
KeysAndAttributes()()()()
Initializes a new instance of the KeysAndAttributes class

AttributesToGet
One or more attributes to retrieve from the table or index. If no attribute names are specified then all attributes will be returned. If any of the specified attributes are not found, they will not appear in the result.

Constraints:

Length
1 -


ConsistentRead
The consistency of a read operation. If set to true, then a strongly consistent read is used; otherwise, an eventually consistent read is used.

Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType()()()()
Gets the type of the current instance.
(Inherited from Object.)
Keys
The primary key attribute values that define the items and the attributes associated with the items.

Constraints:

Length
1 - 100


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAttributesToGet(array<String>[]()[][]) Obsolete.
Adds elements to the AttributesToGet collection

WithAttributesToGet(IEnumerable<(Of <<'(String>)>>)) Obsolete.
Adds elements to the AttributesToGet collection

WithConsistentRead(Boolean) Obsolete.
Sets the ConsistentRead property

WithKeys(array<Dictionary<(Of <<'(String, AttributeValue>)>>)>[]()[][]) Obsolete.
Adds elements to the Keys collection

WithKeys(IEnumerable<(Of <<'(Dictionary<(Of <<'(String, AttributeValue>)>>)>)>>)) Obsolete.
Adds elements to the Keys collection

Inheritance Hierarchy
Object
KeysAndAttributes

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)