itemOf

fun itemOf(): Item

Returns a new immutable Item with no attributes (i.e., an empty item)


fun itemOf(vararg pairs: Pair<String, AttributeValue>): Item

Returns a new immutable Item with the specified attributes, given as name-value pairs

Parameters

pairs

A collection of Pair<String, AttributeValue> where the first value is the attribute name and the second is the attribute value.