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

Represents a single element of a key schema. A key schema specifies the attributes that make up the primary key of a table, or the key attributes of an index.

Declaration Syntax
C#
public class KeySchemaElement
Members
All MembersConstructorsMethodsProperties



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

AttributeName
The name of a key attribute.

Constraints:

Length
1 - 255


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.)
KeyType
The attribute data, consisting of the data type and the attribute value itself.

Constraints:

Allowed Values
HASH, RANGE


ToString()()()()
Returns a string that represents the current object.
(Inherited from Object.)
WithAttributeName(String) Obsolete.
Sets the AttributeName property

WithKeyType(String) Obsolete.
Sets the KeyType property

Inheritance Hierarchy
Object
KeySchemaElement

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