public static interface Record.Builder extends software.amazon.awssdk.utils.builder.CopyableBuilder<Record.Builder,Record>
Modifier and Type | Method and Description |
---|---|
Record.Builder |
approximateArrivalTimestamp(Date approximateArrivalTimestamp)
The approximate time that the record was inserted into the stream.
|
Record.Builder |
data(ByteBuffer data)
The data blob.
|
Record.Builder |
partitionKey(String partitionKey)
Identifies which shard in the stream the data record is assigned to.
|
Record.Builder |
sequenceNumber(String sequenceNumber)
The unique identifier of the record in the stream.
|
copy
apply, build
Record.Builder sequenceNumber(String sequenceNumber)
The unique identifier of the record in the stream.
sequenceNumber
- The unique identifier of the record in the stream.Record.Builder approximateArrivalTimestamp(Date approximateArrivalTimestamp)
The approximate time that the record was inserted into the stream.
approximateArrivalTimestamp
- The approximate time that the record was inserted into the stream.Record.Builder data(ByteBuffer data)
The data blob. The data in the blob is both opaque and immutable to the Amazon Kinesis service, which does not inspect, interpret, or change the data in the blob in any way. When the data blob (the payload before base64-encoding) is added to the partition key size, the total size must not exceed the maximum record size (1 MB).
data
- The data blob. The data in the blob is both opaque and immutable to the Amazon Kinesis service, which
does not inspect, interpret, or change the data in the blob in any way. When the data blob (the
payload before base64-encoding) is added to the partition key size, the total size must not exceed the
maximum record size (1 MB).Record.Builder partitionKey(String partitionKey)
Identifies which shard in the stream the data record is assigned to.
partitionKey
- Identifies which shard in the stream the data record is assigned to.Copyright © 2017. All rights reserved.