Struct aws_sdk_kinesis::output::put_record_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PutRecordOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn shard_id(self, input: impl Into<String>) -> Self
pub fn shard_id(self, input: impl Into<String>) -> Self
The shard ID of the shard where the data record was placed.
sourcepub fn set_shard_id(self, input: Option<String>) -> Self
pub fn set_shard_id(self, input: Option<String>) -> Self
The shard ID of the shard where the data record was placed.
sourcepub fn sequence_number(self, input: impl Into<String>) -> Self
pub fn sequence_number(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_sequence_number(self, input: Option<String>) -> Self
pub fn set_sequence_number(self, input: Option<String>) -> Self
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.
sourcepub fn encryption_type(self, input: EncryptionType) -> Self
pub fn encryption_type(self, input: EncryptionType) -> Self
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.
sourcepub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
pub fn set_encryption_type(self, input: Option<EncryptionType>) -> Self
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.
sourcepub fn build(self) -> PutRecordOutput
pub fn build(self) -> PutRecordOutput
Consumes the builder and constructs a PutRecordOutput
.