@Generated(value="software.amazon.awssdk:codegen") public class StreamRecord extends Object implements StructuredPojo, software.amazon.awssdk.utils.builder.ToCopyableBuilder<StreamRecord.Builder,StreamRecord>
A description of a single data modification that was performed on an item in a DynamoDB table.
Modifier and Type | Class and Description |
---|---|
static interface |
StreamRecord.Builder |
Modifier and Type | Method and Description |
---|---|
Date |
approximateCreationDateTime()
The approximate date and time when the stream record was created, in UNIX epoch time format.
|
static StreamRecord.Builder |
builder() |
boolean |
equals(Object obj) |
int |
hashCode() |
Map<String,AttributeValue> |
keys()
The primary key attribute(s) for the DynamoDB item that was modified.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Map<String,AttributeValue> |
newImage()
The item in the DynamoDB table as it appeared after it was modified.
|
Map<String,AttributeValue> |
oldImage()
The item in the DynamoDB table as it appeared before it was modified.
|
String |
sequenceNumber()
The sequence number of the stream record.
|
static Class<? extends StreamRecord.Builder> |
serializableBuilderClass() |
Long |
sizeBytes()
The size of the stream record, in bytes.
|
String |
streamViewType()
The type of data from the modified DynamoDB item that was captured in this stream record:
|
StreamRecord.Builder |
toBuilder() |
String |
toString() |
public Date approximateCreationDateTime()
The approximate date and time when the stream record was created, in UNIX epoch time format.
public Map<String,AttributeValue> keys()
The primary key attribute(s) for the DynamoDB item that was modified.
public Map<String,AttributeValue> newImage()
The item in the DynamoDB table as it appeared after it was modified.
public Map<String,AttributeValue> oldImage()
The item in the DynamoDB table as it appeared before it was modified.
public String sequenceNumber()
The sequence number of the stream record.
public Long sizeBytes()
The size of the stream record, in bytes.
public String streamViewType()
The type of data from the modified DynamoDB item that was captured in this stream record:
KEYS_ONLY
- only the key attributes of the modified item.
NEW_IMAGE
- the entire item, as it appeared after it was modified.
OLD_IMAGE
- the entire item, as it appeared before it was modified.
NEW_AND_OLD_IMAGES
- both the new and the old item images of the item.
KEYS_ONLY
- only the key attributes of the modified item.
NEW_IMAGE
- the entire item, as it appeared after it was modified.
OLD_IMAGE
- the entire item, as it appeared before it was modified.
NEW_AND_OLD_IMAGES
- both the new and the old item images of the item.
StreamViewType
public StreamRecord.Builder toBuilder()
toBuilder
in interface software.amazon.awssdk.utils.builder.ToCopyableBuilder<StreamRecord.Builder,StreamRecord>
public static StreamRecord.Builder builder()
public static Class<? extends StreamRecord.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2017. All rights reserved.