AttributeValue

@JsonSerializable
data class AttributeValue : Comparable<AttributeValue>

Represents the on-the-wire format of an Attribute Value with it's requisite type. Only one of these fields is ever populated at once in an entry. So you can get { "S": "hello" } or { "BOOL": true } or { "NS": "123" }

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val B: Base64Blob? = null
Link copied to clipboard
val BOOL: Boolean? = null
Link copied to clipboard
val BS: Set<Base64Blob>? = null
Link copied to clipboard
val L: List<AttributeValue>? = null
Link copied to clipboard
val M: Item? = null
Link copied to clipboard
val N: String? = null
Link copied to clipboard
val NS: Set<String>? = null
Link copied to clipboard
val NULL: Boolean? = null
Link copied to clipboard
val S: String? = null
Link copied to clipboard
val SS: Set<String>? = null

Functions

Link copied to clipboard
open operator override fun compareTo(other: AttributeValue): Int
Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
operator fun minus(other: AttributeValue): AttributeValue
Link copied to clipboard
operator fun plus(other: AttributeValue): AttributeValue
Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
fun with(index: Int, value: AttributeValue): AttributeValue