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.
This field is required.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 get_id(&self) -> &Option<String>
pub fn get_id(&self) -> &Option<String>
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.
This field is required.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 get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message that indicates why the batch item failed.
sourcepub fn build(self) -> Result<FailedBatchItem, BuildError>
pub fn build(self) -> Result<FailedBatchItem, BuildError>
Consumes the builder and constructs a FailedBatchItem
.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for FailedBatchItemBuilder
impl Clone for FailedBatchItemBuilder
source§fn clone(&self) -> FailedBatchItemBuilder
fn clone(&self) -> FailedBatchItemBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
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
source§impl PartialEq for FailedBatchItemBuilder
impl PartialEq for FailedBatchItemBuilder
source§fn eq(&self, other: &FailedBatchItemBuilder) -> bool
fn eq(&self, other: &FailedBatchItemBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailedBatchItemBuilder
Auto Trait Implementations§
impl Freeze for FailedBatchItemBuilder
impl RefUnwindSafe for FailedBatchItemBuilder
impl Send for FailedBatchItemBuilder
impl Sync for FailedBatchItemBuilder
impl Unpin for FailedBatchItemBuilder
impl UnwindSafe for FailedBatchItemBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more