Interface PutRecordResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>, KinesisResponse.Builder, SdkBuilder<PutRecordResponse.Builder,PutRecordResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
PutRecordResponse

public static interface PutRecordResponse.Builder extends KinesisResponse.Builder, SdkPojo, CopyableBuilder<PutRecordResponse.Builder,PutRecordResponse>
  • Method Details

    • shardId

      The shard ID of the shard where the data record was placed.

      Parameters:
      shardId - The shard ID of the shard where the data record was placed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sequenceNumber

      PutRecordResponse.Builder sequenceNumber(String sequenceNumber)

      The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.

      Parameters:
      sequenceNumber - The sequence number identifier that was assigned to the put data record. The sequence number for the record is unique across all records in the stream. A sequence number is the identifier associated with every record put into the stream.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • encryptionType

      PutRecordResponse.Builder encryptionType(String encryptionType)

      The encryption type to use 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 to use 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

      PutRecordResponse.Builder encryptionType(EncryptionType encryptionType)

      The encryption type to use 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 to use 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: