Interface Record.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Record.Builder,
,Record> SdkBuilder<Record.Builder,
,Record> SdkPojo
- Enclosing class:
Record
-
Method Summary
Modifier and TypeMethodDescriptionclusteringKeys
(Map<String, KeyspacesCellValue> clusteringKeys) The clustering key columns and their values for the affected row, which determine the order of rows within a partition.The timestamp indicating when this change data capture record was created.eventVersion
(String eventVersion) The version of the record format, used to track the evolution of the record structure over time.default Record.Builder
newImage
(Consumer<KeyspacesRow.Builder> newImage) The state of the row after the change operation that generated this record.newImage
(KeyspacesRow newImage) The state of the row after the change operation that generated this record.default Record.Builder
oldImage
(Consumer<KeyspacesRow.Builder> oldImage) The state of the row before the change operation that generated this record.oldImage
(KeyspacesRow oldImage) The state of the row before the change operation that generated this record.The origin or source of this change data capture record.origin
(OriginType origin) The origin or source of this change data capture record.partitionKeys
(Map<String, KeyspacesCellValue> partitionKeys) The partition key columns and their values for the affected row.sequenceNumber
(String sequenceNumber) A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.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, sdkFieldNameToField, sdkFields
-
Method Details
-
eventVersion
The version of the record format, used to track the evolution of the record structure over time.
- Parameters:
eventVersion
- The version of the record format, used to track the evolution of the record structure over time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The timestamp indicating when this change data capture record was created.
- Parameters:
createdAt
- The timestamp indicating when this change data capture record was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
origin
The origin or source of this change data capture record.
- Parameters:
origin
- The origin or source of this change data capture record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
origin
The origin or source of this change data capture record.
- Parameters:
origin
- The origin or source of this change data capture record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
partitionKeys
The partition key columns and their values for the affected row.
- Parameters:
partitionKeys
- The partition key columns and their values for the affected row.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clusteringKeys
The clustering key columns and their values for the affected row, which determine the order of rows within a partition.
- Parameters:
clusteringKeys
- The clustering key columns and their values for the affected row, which determine the order of rows within a partition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newImage
The state of the row after the change operation that generated this record.
- Parameters:
newImage
- The state of the row after the change operation that generated this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newImage
The state of the row after the change operation that generated this record.
This is a convenience method that creates an instance of theKeyspacesRow.Builder
avoiding the need to create one manually viaKeyspacesRow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonewImage(KeyspacesRow)
.- Parameters:
newImage
- a consumer that will call methods onKeyspacesRow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
oldImage
The state of the row before the change operation that generated this record.
- Parameters:
oldImage
- The state of the row before the change operation that generated this record.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldImage
The state of the row before the change operation that generated this record.
This is a convenience method that creates an instance of theKeyspacesRow.Builder
avoiding the need to create one manually viaKeyspacesRow.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooldImage(KeyspacesRow)
.- Parameters:
oldImage
- a consumer that will call methods onKeyspacesRow.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sequenceNumber
A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.
- Parameters:
sequenceNumber
- A unique identifier assigned to this record within the shard, used for ordering and tracking purposes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-