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 ==
.