@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Record extends Object implements Serializable, Cloneable, StructuredPojo
A description of a unique event within a stream.
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
Record |
clone() |
boolean |
equals(Object obj) |
String |
getAwsRegion()
The region in which the
GetRecords request was received. |
StreamRecord |
getDynamodb()
The main body of the stream record, containing all of the DynamoDB-specific fields.
|
String |
getEventID()
A globally unique identifier for the event that was recorded in this stream record.
|
String |
getEventName()
The type of data modification that was performed on the DynamoDB table:
|
String |
getEventSource()
The Amazon Web Services service from which the stream record originated.
|
String |
getEventVersion()
The version number of the stream record format.
|
Identity |
getUserIdentity()
Items that are deleted by the Time to Live process after expiration have the following fields:
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setAwsRegion(String awsRegion)
The region in which the
GetRecords request was received. |
void |
setDynamodb(StreamRecord dynamodb)
The main body of the stream record, containing all of the DynamoDB-specific fields.
|
void |
setEventID(String eventID)
A globally unique identifier for the event that was recorded in this stream record.
|
void |
setEventName(OperationType eventName)
The type of data modification that was performed on the DynamoDB table:
|
void |
setEventName(String eventName)
The type of data modification that was performed on the DynamoDB table:
|
void |
setEventSource(String eventSource)
The Amazon Web Services service from which the stream record originated.
|
void |
setEventVersion(String eventVersion)
The version number of the stream record format.
|
void |
setUserIdentity(Identity userIdentity)
Items that are deleted by the Time to Live process after expiration have the following fields:
|
String |
toString()
Returns a string representation of this object.
|
Record |
withAwsRegion(String awsRegion)
The region in which the
GetRecords request was received. |
Record |
withDynamodb(StreamRecord dynamodb)
The main body of the stream record, containing all of the DynamoDB-specific fields.
|
Record |
withEventID(String eventID)
A globally unique identifier for the event that was recorded in this stream record.
|
Record |
withEventName(OperationType eventName)
The type of data modification that was performed on the DynamoDB table:
|
Record |
withEventName(String eventName)
The type of data modification that was performed on the DynamoDB table:
|
Record |
withEventSource(String eventSource)
The Amazon Web Services service from which the stream record originated.
|
Record |
withEventVersion(String eventVersion)
The version number of the stream record format.
|
Record |
withUserIdentity(Identity userIdentity)
Items that are deleted by the Time to Live process after expiration have the following fields:
|
public void setEventID(String eventID)
A globally unique identifier for the event that was recorded in this stream record.
eventID
- A globally unique identifier for the event that was recorded in this stream record.public String getEventID()
A globally unique identifier for the event that was recorded in this stream record.
public Record withEventID(String eventID)
A globally unique identifier for the event that was recorded in this stream record.
eventID
- A globally unique identifier for the event that was recorded in this stream record.public void setEventName(String eventName)
The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
eventName
- The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
OperationType
public String getEventName()
The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
OperationType
public Record withEventName(String eventName)
The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
eventName
- The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
OperationType
public void setEventName(OperationType eventName)
The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
eventName
- The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
OperationType
public Record withEventName(OperationType eventName)
The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
eventName
- The type of data modification that was performed on the DynamoDB table:
INSERT
- a new item was added to the table.
MODIFY
- one or more of an existing item's attributes were modified.
REMOVE
- the item was deleted from the table
OperationType
public void setEventVersion(String eventVersion)
The version number of the stream record format. This number is updated whenever the structure of
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as this
number is subject to change at any time. In general, eventVersion
will only increase as the
low-level DynamoDB Streams API evolves.
eventVersion
- The version number of the stream record format. This number is updated whenever the structure of
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as
this number is subject to change at any time. In general, eventVersion
will only increase as
the low-level DynamoDB Streams API evolves.
public String getEventVersion()
The version number of the stream record format. This number is updated whenever the structure of
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as this
number is subject to change at any time. In general, eventVersion
will only increase as the
low-level DynamoDB Streams API evolves.
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as
this number is subject to change at any time. In general, eventVersion
will only increase as
the low-level DynamoDB Streams API evolves.
public Record withEventVersion(String eventVersion)
The version number of the stream record format. This number is updated whenever the structure of
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as this
number is subject to change at any time. In general, eventVersion
will only increase as the
low-level DynamoDB Streams API evolves.
eventVersion
- The version number of the stream record format. This number is updated whenever the structure of
Record
is modified.
Client applications must not assume that eventVersion
will remain at a particular value, as
this number is subject to change at any time. In general, eventVersion
will only increase as
the low-level DynamoDB Streams API evolves.
public void setEventSource(String eventSource)
The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is
aws:dynamodb
.
eventSource
- The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is
aws:dynamodb
.public String getEventSource()
The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is
aws:dynamodb
.
aws:dynamodb
.public Record withEventSource(String eventSource)
The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is
aws:dynamodb
.
eventSource
- The Amazon Web Services service from which the stream record originated. For DynamoDB Streams, this is
aws:dynamodb
.public void setAwsRegion(String awsRegion)
The region in which the GetRecords
request was received.
awsRegion
- The region in which the GetRecords
request was received.public String getAwsRegion()
The region in which the GetRecords
request was received.
GetRecords
request was received.public Record withAwsRegion(String awsRegion)
The region in which the GetRecords
request was received.
awsRegion
- The region in which the GetRecords
request was received.public void setDynamodb(StreamRecord dynamodb)
The main body of the stream record, containing all of the DynamoDB-specific fields.
dynamodb
- The main body of the stream record, containing all of the DynamoDB-specific fields.public StreamRecord getDynamodb()
The main body of the stream record, containing all of the DynamoDB-specific fields.
public Record withDynamodb(StreamRecord dynamodb)
The main body of the stream record, containing all of the DynamoDB-specific fields.
dynamodb
- The main body of the stream record, containing all of the DynamoDB-specific fields.public void setUserIdentity(Identity userIdentity)
Items that are deleted by the Time to Live process after expiration have the following fields:
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
userIdentity
- Items that are deleted by the Time to Live process after expiration have the following fields:
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
public Identity getUserIdentity()
Items that are deleted by the Time to Live process after expiration have the following fields:
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
public Record withUserIdentity(Identity userIdentity)
Items that are deleted by the Time to Live process after expiration have the following fields:
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
userIdentity
- Items that are deleted by the Time to Live process after expiration have the following fields:
Records[].userIdentity.type
"Service"
Records[].userIdentity.principalId
"dynamodb.amazonaws.com"
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall
in interface StructuredPojo
Copyright © 2024. All rights reserved.