Struct aws_sdk_kinesis::model::put_records_result_entry::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for PutRecordsResultEntry
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn sequence_number(self, input: impl Into<String>) -> Self
pub fn sequence_number(self, input: impl Into<String>) -> Self
The sequence number for an individual record result.
sourcepub fn set_sequence_number(self, input: Option<String>) -> Self
pub fn set_sequence_number(self, input: Option<String>) -> Self
The sequence number for an individual record result.
sourcepub fn shard_id(self, input: impl Into<String>) -> Self
pub fn shard_id(self, input: impl Into<String>) -> Self
The shard ID for an individual record result.
sourcepub fn set_shard_id(self, input: Option<String>) -> Self
pub fn set_shard_id(self, input: Option<String>) -> Self
The shard ID for an individual record result.
sourcepub fn error_code(self, input: impl Into<String>) -> Self
pub fn error_code(self, input: impl Into<String>) -> Self
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
sourcepub fn set_error_code(self, input: Option<String>) -> Self
pub fn set_error_code(self, input: Option<String>) -> Self
The error code for an individual record result. ErrorCodes
can be either ProvisionedThroughputExceededException
or InternalFailure
.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message for an individual record result. An ErrorCode
value of ProvisionedThroughputExceededException
has an error message that includes the account ID, stream name, and shard ID. An ErrorCode
value of InternalFailure
has the error message "Internal Service Failure"
.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message for an individual record result. An ErrorCode
value of ProvisionedThroughputExceededException
has an error message that includes the account ID, stream name, and shard ID. An ErrorCode
value of InternalFailure
has the error message "Internal Service Failure"
.
sourcepub fn build(self) -> PutRecordsResultEntry
pub fn build(self) -> PutRecordsResultEntry
Consumes the builder and constructs a PutRecordsResultEntry
.