Amazon.DynamoDBv2.Model.AttributeDefinition.AttributeDefinition C# (CSharp) Method

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
        public AttributeDefinition(string attributeName, ScalarAttributeType attributeType)
        {
            _attributeName = attributeName;
            _attributeType = attributeType;
        }

Same methods

AttributeDefinition::AttributeDefinition ( ) : System