Set

data class Set(val value: List<AttributeValue>) : AttributeValue

An attribute value of Set type.

Example: {"set": [ {} ] }

Constructors

Link copied to clipboard
constructor(value: List<AttributeValue>)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this AttributeValue as a Boolean and retrieves its kotlin.Boolean value. Throws an exception if the AttributeValue is not a Boolean.

Link copied to clipboard

Casts this AttributeValue as a Boolean and retrieves its kotlin.Boolean value. Returns null if the AttributeValue is not a Boolean.

Link copied to clipboard
fun asLong(): Long

Casts this AttributeValue as a Long and retrieves its kotlin.Long value. Throws an exception if the AttributeValue is not a Long.

Link copied to clipboard

Casts this AttributeValue as a Long and retrieves its kotlin.Long value. Returns null if the AttributeValue is not a Long.

Link copied to clipboard

Casts this AttributeValue as a Record and retrieves its Map value. Throws an exception if the AttributeValue is not a Record.

Link copied to clipboard

Casts this AttributeValue as a Record and retrieves its Map value. Returns null if the AttributeValue is not a Record.

Link copied to clipboard

Casts this AttributeValue as a Set and retrieves its List value. Throws an exception if the AttributeValue is not a Set.

Link copied to clipboard

Casts this AttributeValue as a Set and retrieves its List value. Returns null if the AttributeValue is not a Set.

Link copied to clipboard

Casts this AttributeValue as a String and retrieves its kotlin.String value. Throws an exception if the AttributeValue is not a String.

Link copied to clipboard

Casts this AttributeValue as a String and retrieves its kotlin.String value. Returns null if the AttributeValue is not a String.