Struct aws_sdk_mq::model::user_summary::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for UserSummary
.
Implementations
sourceimpl Builder
impl Builder
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 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.
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 build(self) -> UserSummary
pub fn build(self) -> UserSummary
Consumes the builder and constructs a UserSummary
.
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more