Interface GetRecordsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetRecordsResponse.Builder,
,GetRecordsResponse> KeyspacesStreamsResponse.Builder
,SdkBuilder<GetRecordsResponse.Builder,
,GetRecordsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetRecordsResponse
-
Method Summary
Modifier and TypeMethodDescriptionchangeRecords
(Collection<Record> changeRecords) An array of change data records retrieved from the specified shard.changeRecords
(Consumer<Record.Builder>... changeRecords) An array of change data records retrieved from the specified shard.changeRecords
(Record... changeRecords) An array of change data records retrieved from the specified shard.nextShardIterator
(String nextShardIterator) The next position in the shard from which to start sequentially reading data records.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.keyspacesstreams.model.KeyspacesStreamsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
changeRecords
An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified.
- Parameters:
changeRecords
- An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeRecords
An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified.
- Parameters:
changeRecords
- An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
changeRecords
An array of change data records retrieved from the specified shard. Each record represents a single data modification (insert, update, or delete) to a row in the Amazon Keyspaces table. Records include the primary key columns and information about what data was modified.
This is a convenience method that creates an instance of theRecord.Builder
avoiding the need to create one manually viaRecord.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tochangeRecords(List<Record>)
.- Parameters:
changeRecords
- a consumer that will call methods onRecord.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextShardIterator
The next position in the shard from which to start sequentially reading data records. If null, the shard has been closed and the requested iterator doesn't return any more data.
- Parameters:
nextShardIterator
- The next position in the shard from which to start sequentially reading data records. If null, the shard has been closed and the requested iterator doesn't return any more data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-