Interface Record.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Record.Builder,
,Record> SdkBuilder<Record.Builder,
,Record> SdkPojo
- Enclosing class:
Record
-
Method Summary
Modifier and TypeMethodDescriptionapproximateArrivalTimestamp
(Instant approximateArrivalTimestamp) The approximate time that the record was inserted into the stream.The data blob.encryptionType
(String encryptionType) The encryption type used on the record.encryptionType
(EncryptionType encryptionType) The encryption type used on the record.partitionKey
(String partitionKey) Identifies which shard in the stream the data record is assigned to.sequenceNumber
(String sequenceNumber) The unique identifier of the record within its shard.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 Details
-
sequenceNumber
The unique identifier of the record within its shard.
- Parameters:
sequenceNumber
- The unique identifier of the record within its shard.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateArrivalTimestamp
The approximate time that the record was inserted into the stream.
- Parameters:
approximateArrivalTimestamp
- The approximate time that the record was inserted into the stream.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
data
The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, 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 MiB).
- Parameters:
data
- The data blob. The data in the blob is both opaque and immutable to Kinesis Data Streams, 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 MiB).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
partitionKey
Identifies which shard in the stream the data record is assigned to.
- Parameters:
partitionKey
- Identifies which shard in the stream the data record is assigned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionType
The encryption type used on the record. This parameter can be one of the following values:
-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
- Parameters:
encryptionType
- The encryption type used on the record. This parameter can be one of the following values:-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
encryptionType
The encryption type used on the record. This parameter can be one of the following values:
-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
- Parameters:
encryptionType
- The encryption type used on the record. This parameter can be one of the following values:-
NONE
: Do not encrypt the records in the stream. -
KMS
: Use server-side encryption on the records in the stream using a customer-managed Amazon Web Services KMS key.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-