Struct aws_sdk_dynamodb::types::builders::FailureExceptionBuilder
source · #[non_exhaustive]pub struct FailureExceptionBuilder { /* private fields */ }
Expand description
A builder for FailureException
.
Implementations§
source§impl FailureExceptionBuilder
impl FailureExceptionBuilder
sourcepub fn exception_name(self, input: impl Into<String>) -> Self
pub fn exception_name(self, input: impl Into<String>) -> Self
Exception name.
sourcepub fn set_exception_name(self, input: Option<String>) -> Self
pub fn set_exception_name(self, input: Option<String>) -> Self
Exception name.
sourcepub fn get_exception_name(&self) -> &Option<String>
pub fn get_exception_name(&self) -> &Option<String>
Exception name.
sourcepub fn exception_description(self, input: impl Into<String>) -> Self
pub fn exception_description(self, input: impl Into<String>) -> Self
Description of the failure.
sourcepub fn set_exception_description(self, input: Option<String>) -> Self
pub fn set_exception_description(self, input: Option<String>) -> Self
Description of the failure.
sourcepub fn get_exception_description(&self) -> &Option<String>
pub fn get_exception_description(&self) -> &Option<String>
Description of the failure.
sourcepub fn build(self) -> FailureException
pub fn build(self) -> FailureException
Consumes the builder and constructs a FailureException
.
Trait Implementations§
source§impl Clone for FailureExceptionBuilder
impl Clone for FailureExceptionBuilder
source§fn clone(&self) -> FailureExceptionBuilder
fn clone(&self) -> FailureExceptionBuilder
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 FailureExceptionBuilder
impl Debug for FailureExceptionBuilder
source§impl Default for FailureExceptionBuilder
impl Default for FailureExceptionBuilder
source§fn default() -> FailureExceptionBuilder
fn default() -> FailureExceptionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for FailureExceptionBuilder
impl PartialEq for FailureExceptionBuilder
source§fn eq(&self, other: &FailureExceptionBuilder) -> bool
fn eq(&self, other: &FailureExceptionBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailureExceptionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for FailureExceptionBuilder
impl Send for FailureExceptionBuilder
impl Sync for FailureExceptionBuilder
impl Unpin for FailureExceptionBuilder
impl UnwindSafe for FailureExceptionBuilder
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.