#[non_exhaustive]pub struct ConditionalCheckFailedExceptionBuilder { /* private fields */ }
Expand description
A builder for ConditionalCheckFailedException
.
Implementations§
source§impl ConditionalCheckFailedExceptionBuilder
impl ConditionalCheckFailedExceptionBuilder
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
The conditional request failed.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
The conditional request failed.
sourcepub fn item(self, k: impl Into<String>, v: AttributeValue) -> Self
pub fn item(self, k: impl Into<String>, v: AttributeValue) -> Self
Adds a key-value pair to item
.
To override the contents of this collection use set_item
.
Item which caused the ConditionalCheckFailedException
.
sourcepub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
pub fn set_item(self, input: Option<HashMap<String, AttributeValue>>) -> Self
Item which caused the ConditionalCheckFailedException
.
sourcepub fn get_item(&self) -> &Option<HashMap<String, AttributeValue>>
pub fn get_item(&self) -> &Option<HashMap<String, AttributeValue>>
Item which caused the ConditionalCheckFailedException
.
sourcepub fn meta(self, meta: ErrorMetadata) -> Self
pub fn meta(self, meta: ErrorMetadata) -> Self
Sets error metadata
sourcepub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
pub fn set_meta(&mut self, meta: Option<ErrorMetadata>) -> &mut Self
Sets error metadata
sourcepub fn build(self) -> ConditionalCheckFailedException
pub fn build(self) -> ConditionalCheckFailedException
Consumes the builder and constructs a ConditionalCheckFailedException
.
Trait Implementations§
source§impl Clone for ConditionalCheckFailedExceptionBuilder
impl Clone for ConditionalCheckFailedExceptionBuilder
source§fn clone(&self) -> ConditionalCheckFailedExceptionBuilder
fn clone(&self) -> ConditionalCheckFailedExceptionBuilder
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 Default for ConditionalCheckFailedExceptionBuilder
impl Default for ConditionalCheckFailedExceptionBuilder
source§fn default() -> ConditionalCheckFailedExceptionBuilder
fn default() -> ConditionalCheckFailedExceptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConditionalCheckFailedExceptionBuilder
impl PartialEq for ConditionalCheckFailedExceptionBuilder
source§fn eq(&self, other: &ConditionalCheckFailedExceptionBuilder) -> bool
fn eq(&self, other: &ConditionalCheckFailedExceptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConditionalCheckFailedExceptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ConditionalCheckFailedExceptionBuilder
impl Send for ConditionalCheckFailedExceptionBuilder
impl Sync for ConditionalCheckFailedExceptionBuilder
impl Unpin for ConditionalCheckFailedExceptionBuilder
impl UnwindSafe for ConditionalCheckFailedExceptionBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.