Package io.aws.lambda.events.dynamodb
Class AttributeValue
- java.lang.Object
-
- io.aws.lambda.events.dynamodb.AttributeValue
-
- All Implemented Interfaces:
java.io.Serializable
public class AttributeValue extends java.lang.Object implements java.io.SerializableRepresents the data for an attribute. Each attribute value is described as a name-value pair. The name is the data type, and the value is the data itself. For more information, see Data Types in the Amazon DynamoDB Developer Guide.- See Also:
- AWS API Documentation, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AttributeValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttributeValueaddMEntry(java.lang.String key, AttributeValue value)AttributeValueclearMEntries()Removes all the entries added into M.@NotNull java.util.List<AttributeValue>getL()@NotNull java.util.Map<java.lang.String,AttributeValue>getM()@NotNull java.util.List<java.lang.String>getnS()@NotNull java.util.List<java.lang.String>getsS()AttributeValuewithL(AttributeValue... l)
-
-
-
Method Detail
-
getsS
@NotNull public @NotNull java.util.List<java.lang.String> getsS()
-
getnS
@NotNull public @NotNull java.util.List<java.lang.String> getnS()
-
getM
@NotNull public @NotNull java.util.Map<java.lang.String,AttributeValue> getM()
-
getL
@NotNull public @NotNull java.util.List<AttributeValue> getL()
-
addMEntry
public AttributeValue addMEntry(java.lang.String key, AttributeValue value)
-
clearMEntries
public AttributeValue clearMEntries()
Removes all the entries added into M.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withL
public AttributeValue withL(AttributeValue... l)
-
-