Java com.amazonaws.services.dynamodbv2.model AttributeDefinition fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.dynamodbv2.model AttributeDefinition fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.dynamodbv2.model AttributeDefinition.

The text is from its open source code.

Constructor

AttributeDefinition()
Default constructor for AttributeDefinition object.
AttributeDefinition(String attributeName, String attributeType)
Constructs a new AttributeDefinition object.
AttributeDefinition(String attributeName, ScalarAttributeType attributeType)
Constructs a new AttributeDefinition object.

Method

StringgetAttributeName()

A name for the attribute.

StringgetAttributeType()

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

voidsetAttributeName(String attributeName)

A name for the attribute.

voidsetAttributeType(String attributeType)

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

voidsetAttributeType(ScalarAttributeType attributeType)

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