Interface StreamRecord.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<StreamRecord.Builder,StreamRecord>
,SdkBuilder<StreamRecord.Builder,StreamRecord>
,SdkPojo
- Enclosing class:
- StreamRecord
public static interface StreamRecord.Builder extends SdkPojo, CopyableBuilder<StreamRecord.Builder,StreamRecord>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StreamRecord.Builder
approximateCreationDateTime(Instant approximateCreationDateTime)
The approximate date and time when the stream record was created, in UNIX epoch time format and rounded down to the closest second.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:-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
approximateCreationDateTime
StreamRecord.Builder approximateCreationDateTime(Instant approximateCreationDateTime)
The approximate date and time when the stream record was created, in UNIX epoch time format and rounded down to the closest second.
- Parameters:
approximateCreationDateTime
- The approximate date and time when the stream record was created, in UNIX epoch time format and rounded down to the closest second.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keys
StreamRecord.Builder keys(Map<String,AttributeValue> keys)
The primary key attribute(s) for the DynamoDB item that was modified.
- Parameters:
keys
- The primary key attribute(s) for the DynamoDB item that was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newImage
StreamRecord.Builder newImage(Map<String,AttributeValue> newImage)
The item in the DynamoDB table as it appeared after it was modified.
- Parameters:
newImage
- The item in the DynamoDB table as it appeared after it was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldImage
StreamRecord.Builder oldImage(Map<String,AttributeValue> oldImage)
The item in the DynamoDB table as it appeared before it was modified.
- Parameters:
oldImage
- The item in the DynamoDB table as it appeared before it was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sequenceNumber
StreamRecord.Builder sequenceNumber(String sequenceNumber)
The sequence number of the stream record.
- Parameters:
sequenceNumber
- The sequence number of the stream record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sizeBytes
StreamRecord.Builder sizeBytes(Long sizeBytes)
The size of the stream record, in bytes.
- Parameters:
sizeBytes
- The size of the stream record, in bytes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
streamViewType
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamViewType
,StreamViewType
-
-
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.
- Parameters:
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
StreamViewType
,StreamViewType
-
-
-