Struct aws_sdk_mq::types::builders::UserSummaryBuilder
source · #[non_exhaustive]pub struct UserSummaryBuilder { /* private fields */ }
Expand description
A builder for UserSummary
.
Implementations§
source§impl UserSummaryBuilder
impl UserSummaryBuilder
sourcepub fn pending_change(self, input: ChangeType) -> Self
pub fn pending_change(self, input: ChangeType) -> Self
The type of change pending for the broker user.
sourcepub fn set_pending_change(self, input: Option<ChangeType>) -> Self
pub fn set_pending_change(self, input: Option<ChangeType>) -> Self
The type of change pending for the broker user.
sourcepub fn get_pending_change(&self) -> &Option<ChangeType>
pub fn get_pending_change(&self) -> &Option<ChangeType>
The type of change pending for the broker user.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
This field is required.sourcepub fn set_username(self, input: Option<String>) -> Self
pub fn set_username(self, input: Option<String>) -> Self
Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn get_username(&self) -> &Option<String>
pub fn get_username(&self) -> &Option<String>
Required. The username of the broker user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn build(self) -> UserSummary
pub fn build(self) -> UserSummary
Consumes the builder and constructs a UserSummary
.
Trait Implementations§
source§impl Clone for UserSummaryBuilder
impl Clone for UserSummaryBuilder
source§fn clone(&self) -> UserSummaryBuilder
fn clone(&self) -> UserSummaryBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserSummaryBuilder
impl Debug for UserSummaryBuilder
source§impl Default for UserSummaryBuilder
impl Default for UserSummaryBuilder
source§fn default() -> UserSummaryBuilder
fn default() -> UserSummaryBuilder
source§impl PartialEq for UserSummaryBuilder
impl PartialEq for UserSummaryBuilder
source§fn eq(&self, other: &UserSummaryBuilder) -> bool
fn eq(&self, other: &UserSummaryBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserSummaryBuilder
Auto Trait Implementations§
impl Freeze for UserSummaryBuilder
impl RefUnwindSafe for UserSummaryBuilder
impl Send for UserSummaryBuilder
impl Sync for UserSummaryBuilder
impl Unpin for UserSummaryBuilder
impl UnwindSafe for UserSummaryBuilder
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