Struct aws_sdk_honeycode::types::builders::FailedBatchItemBuilder
source · #[non_exhaustive]pub struct FailedBatchItemBuilder { /* private fields */ }
Expand description
A builder for FailedBatchItem
.
Implementations§
source§impl FailedBatchItemBuilder
impl FailedBatchItemBuilder
sourcepub fn id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
The id of the batch item that failed. This is the batch item id for the BatchCreateTableRows and BatchUpsertTableRows operations and the row id for the BatchUpdateTableRows and BatchDeleteTableRows operations.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message that indicates why the batch item failed.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message that indicates why the batch item failed.
sourcepub fn build(self) -> FailedBatchItem
pub fn build(self) -> FailedBatchItem
Consumes the builder and constructs a FailedBatchItem
.
Trait Implementations§
source§impl Clone for FailedBatchItemBuilder
impl Clone for FailedBatchItemBuilder
source§fn clone(&self) -> FailedBatchItemBuilder
fn clone(&self) -> FailedBatchItemBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FailedBatchItemBuilder
impl Debug for FailedBatchItemBuilder
source§impl Default for FailedBatchItemBuilder
impl Default for FailedBatchItemBuilder
source§fn default() -> FailedBatchItemBuilder
fn default() -> FailedBatchItemBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<FailedBatchItemBuilder> for FailedBatchItemBuilder
impl PartialEq<FailedBatchItemBuilder> for FailedBatchItemBuilder
source§fn eq(&self, other: &FailedBatchItemBuilder) -> bool
fn eq(&self, other: &FailedBatchItemBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.