CopyableBuilder<StreamRecord.Builder,StreamRecord>
, SdkBuilder<StreamRecord.Builder,StreamRecord>
public static interface StreamRecord.Builder extends CopyableBuilder<StreamRecord.Builder,StreamRecord>
Modifier and Type | Method | Description |
---|---|---|
StreamRecord.Builder |
approximateCreationDateTime(Date approximateCreationDateTime) |
The approximate date and time when the stream record was created, in UNIX epoch time format.
|
StreamRecord.Builder |
keys(Map<String,AttributeValue> keys) |
The primary key attribute(s) for the DynamoDB item that was modified.
|
StreamRecord.Builder |
newImage(Map<String,AttributeValue> newImage) |
The item in the DynamoDB table as it appeared after it was modified.
|
StreamRecord.Builder |
oldImage(Map<String,AttributeValue> oldImage) |
The item in the DynamoDB table as it appeared before it was modified.
|
StreamRecord.Builder |
sequenceNumber(String sequenceNumber) |
The sequence number of the stream record.
|
StreamRecord.Builder |
sizeBytes(Long sizeBytes) |
The size of the stream record, in bytes.
|
StreamRecord.Builder |
streamViewType(String streamViewType) |
The type of data from the modified DynamoDB item that was captured in this stream record:
|
StreamRecord.Builder |
streamViewType(StreamViewType streamViewType) |
The type of data from the modified DynamoDB item that was captured in this stream record:
|
copy
apply, build
StreamRecord.Builder approximateCreationDateTime(Date approximateCreationDateTime)
The approximate date and time when the stream record was created, in UNIX epoch time format.
approximateCreationDateTime
- The approximate date and time when the stream record was created, in UNIX epoch time format.StreamRecord.Builder keys(Map<String,AttributeValue> keys)
The primary key attribute(s) for the DynamoDB item that was modified.
keys
- The primary key attribute(s) for the DynamoDB item that was modified.StreamRecord.Builder newImage(Map<String,AttributeValue> newImage)
The item in the DynamoDB table as it appeared after it was modified.
newImage
- The item in the DynamoDB table as it appeared after it was modified.StreamRecord.Builder oldImage(Map<String,AttributeValue> oldImage)
The item in the DynamoDB table as it appeared before it was modified.
oldImage
- The item in the DynamoDB table as it appeared before it was modified.StreamRecord.Builder sequenceNumber(String sequenceNumber)
The sequence number of the stream record.
sequenceNumber
- The sequence number of the stream record.StreamRecord.Builder sizeBytes(Long sizeBytes)
The size of the stream record, in bytes.
sizeBytes
- The size of the stream record, in bytes.StreamRecord.Builder streamViewType(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.
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.
StreamViewType
StreamRecord.Builder streamViewType(StreamViewType 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.
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.
StreamViewType
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.