Package io.aws.lambda.events.dynamodb
Class StreamRecord
- java.lang.Object
-
- io.aws.lambda.events.dynamodb.StreamRecord
-
- All Implemented Interfaces:
java.io.Serializable
public class StreamRecord extends java.lang.Object implements java.io.SerializableA description of a single data modification that was performed on an item in a DynamoDB table.- See Also:
- AWS API Documentation, Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classStreamRecord.StreamViewType
-
Constructor Summary
Constructors Constructor Description StreamRecord()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StreamRecordaddKeysEntry(java.lang.String key, AttributeValue value)StreamRecordaddNewImageEntry(java.lang.String key, AttributeValue value)StreamRecordaddOldImageEntry(java.lang.String key, AttributeValue value)StreamRecordclearKeysEntries()Removes all the entries added into Keys.StreamRecordclearNewImageEntries()Removes all the entries added into NewImage.StreamRecordclearOldImageEntries()Removes all the entries added into OldImage.@NotNull java.util.Map<java.lang.String,AttributeValue>getKeys()@NotNull java.util.Map<java.lang.String,AttributeValue>getNewImage()@NotNull java.util.Map<java.lang.String,AttributeValue>getOldImage()
-
-
-
Method Detail
-
addKeysEntry
public StreamRecord addKeysEntry(java.lang.String key, AttributeValue value)
-
clearKeysEntries
public StreamRecord clearKeysEntries()
Removes all the entries added into Keys.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addNewImageEntry
public StreamRecord addNewImageEntry(java.lang.String key, AttributeValue value)
-
clearNewImageEntries
public StreamRecord clearNewImageEntries()
Removes all the entries added into NewImage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
addOldImageEntry
public StreamRecord addOldImageEntry(java.lang.String key, AttributeValue value)
-
clearOldImageEntries
public StreamRecord clearOldImageEntries()
Removes all the entries added into OldImage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getKeys
@NotNull public @NotNull java.util.Map<java.lang.String,AttributeValue> getKeys()
-
getNewImage
@NotNull public @NotNull java.util.Map<java.lang.String,AttributeValue> getNewImage()
-
getOldImage
@NotNull public @NotNull java.util.Map<java.lang.String,AttributeValue> getOldImage()
-
-