Package-level declarations

Types

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DynamoDbAttribute(val name: String)

Specifies the attribute name for a property in a DynamoDbItem-annotated class/interface. If this annotation is not included then the attribute name matches the property name.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DynamoDbIgnore

Specifies that this property should be ignored during mapping.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class DynamoDbItem(val converterName: String = "")

Specifies that this class/interface describes an item type in a table. All public properties of this type will be mapped to attributes unless they are explicitly ignored.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DynamoDbPartitionKey

Specifies that this property is the primary key for the item. Every top-level DynamoDbItem to be used in a table must have exactly one partition key.

Link copied to clipboard
@Target(allowedTargets = [AnnotationTarget.PROPERTY])
annotation class DynamoDbSortKey

Specifies that this property is the sort key for the item. Every top-level DynamoDbItem to be used in a table may have at most one sort key.