Struct aws_sdk_chime::types::builders::UserErrorBuilder
source · #[non_exhaustive]pub struct UserErrorBuilder { /* private fields */ }
Expand description
A builder for UserError
.
Implementations§
source§impl UserErrorBuilder
impl UserErrorBuilder
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The user ID for which the action failed.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The user ID for which the action failed.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The user ID for which the action failed.
sourcepub fn error_code(self, input: ErrorCode) -> Self
pub fn error_code(self, input: ErrorCode) -> Self
The error code.
sourcepub fn set_error_code(self, input: Option<ErrorCode>) -> Self
pub fn set_error_code(self, input: Option<ErrorCode>) -> Self
The error code.
sourcepub fn get_error_code(&self) -> &Option<ErrorCode>
pub fn get_error_code(&self) -> &Option<ErrorCode>
The error code.
sourcepub fn error_message(self, input: impl Into<String>) -> Self
pub fn error_message(self, input: impl Into<String>) -> Self
The error message.
sourcepub fn set_error_message(self, input: Option<String>) -> Self
pub fn set_error_message(self, input: Option<String>) -> Self
The error message.
sourcepub fn get_error_message(&self) -> &Option<String>
pub fn get_error_message(&self) -> &Option<String>
The error message.
Trait Implementations§
source§impl Clone for UserErrorBuilder
impl Clone for UserErrorBuilder
source§fn clone(&self) -> UserErrorBuilder
fn clone(&self) -> UserErrorBuilder
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 UserErrorBuilder
impl Debug for UserErrorBuilder
source§impl Default for UserErrorBuilder
impl Default for UserErrorBuilder
source§fn default() -> UserErrorBuilder
fn default() -> UserErrorBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for UserErrorBuilder
impl PartialEq for UserErrorBuilder
source§fn eq(&self, other: &UserErrorBuilder) -> bool
fn eq(&self, other: &UserErrorBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserErrorBuilder
Auto Trait Implementations§
impl Freeze for UserErrorBuilder
impl RefUnwindSafe for UserErrorBuilder
impl Send for UserErrorBuilder
impl Sync for UserErrorBuilder
impl Unpin for UserErrorBuilder
impl UnwindSafe for UserErrorBuilder
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.