C# Class Amazon.DynamoDBv2.Model.AttributeDefinition

Represents an attribute for describing the key schema for the table and indexes.
Show file Open project: aws/aws-sdk-net

Public Methods

Method Description
AttributeDefinition ( ) : System

Empty constructor used to set properties independently even when a simple constructor is available

AttributeDefinition ( string attributeName, ScalarAttributeType attributeType ) : System

Instantiates AttributeDefinition with the parameterized properties

Private Methods

Method Description
IsSetAttributeName ( ) : bool
IsSetAttributeType ( ) : bool

Method Details

AttributeDefinition() public method

Empty constructor used to set properties independently even when a simple constructor is available
public AttributeDefinition ( ) : System
return System

AttributeDefinition() public method

Instantiates AttributeDefinition with the parameterized properties
public AttributeDefinition ( string attributeName, ScalarAttributeType attributeType ) : System
attributeName string A name for the attribute.
attributeType ScalarAttributeType The data type for the attribute, where:
  • S - the attribute is of type String
  • N - the attribute is of type Number
  • B - the attribute is of type Binary
return System