#[non_exhaustive]pub struct DescribeUserOutputBuilder { /* private fields */ }
Expand description
A builder for DescribeUserOutput
.
Implementations§
source§impl DescribeUserOutputBuilder
impl DescribeUserOutputBuilder
sourcepub fn broker_id(self, input: impl Into<String>) -> Self
pub fn broker_id(self, input: impl Into<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn set_broker_id(self, input: Option<String>) -> Self
pub fn set_broker_id(self, input: Option<String>) -> Self
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn get_broker_id(&self) -> &Option<String>
pub fn get_broker_id(&self) -> &Option<String>
Required. The unique ID that Amazon MQ generates for the broker.
sourcepub fn console_access(self, input: bool) -> Self
pub fn console_access(self, input: bool) -> Self
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
sourcepub fn set_console_access(self, input: Option<bool>) -> Self
pub fn set_console_access(self, input: Option<bool>) -> Self
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
sourcepub fn get_console_access(&self) -> &Option<bool>
pub fn get_console_access(&self) -> &Option<bool>
Enables access to the the ActiveMQ Web Console for the ActiveMQ user.
sourcepub fn groups(self, input: impl Into<String>) -> Self
pub fn groups(self, input: impl Into<String>) -> Self
Appends an item to groups
.
To override the contents of this collection use set_groups
.
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn set_groups(self, input: Option<Vec<String>>) -> Self
pub fn set_groups(self, input: Option<Vec<String>>) -> Self
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn get_groups(&self) -> &Option<Vec<String>>
pub fn get_groups(&self) -> &Option<Vec<String>>
The list of groups (20 maximum) to which the ActiveMQ user belongs. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn pending(self, input: UserPendingChanges) -> Self
pub fn pending(self, input: UserPendingChanges) -> Self
The status of the changes pending for the ActiveMQ user.
sourcepub fn set_pending(self, input: Option<UserPendingChanges>) -> Self
pub fn set_pending(self, input: Option<UserPendingChanges>) -> Self
The status of the changes pending for the ActiveMQ user.
sourcepub fn get_pending(&self) -> &Option<UserPendingChanges>
pub fn get_pending(&self) -> &Option<UserPendingChanges>
The status of the changes pending for the ActiveMQ user.
sourcepub fn username(self, input: impl Into<String>) -> Self
pub fn username(self, input: impl Into<String>) -> Self
Required. The username of the ActiveMQ 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 ActiveMQ 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 ActiveMQ user. This value can contain only alphanumeric characters, dashes, periods, underscores, and tildes (- . _ ~). This value must be 2-100 characters long.
sourcepub fn replication_user(self, input: bool) -> Self
pub fn replication_user(self, input: bool) -> Self
Describes whether the user is intended for data replication
sourcepub fn set_replication_user(self, input: Option<bool>) -> Self
pub fn set_replication_user(self, input: Option<bool>) -> Self
Describes whether the user is intended for data replication
sourcepub fn get_replication_user(&self) -> &Option<bool>
pub fn get_replication_user(&self) -> &Option<bool>
Describes whether the user is intended for data replication
sourcepub fn build(self) -> DescribeUserOutput
pub fn build(self) -> DescribeUserOutput
Consumes the builder and constructs a DescribeUserOutput
.
Trait Implementations§
source§impl Clone for DescribeUserOutputBuilder
impl Clone for DescribeUserOutputBuilder
source§fn clone(&self) -> DescribeUserOutputBuilder
fn clone(&self) -> DescribeUserOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DescribeUserOutputBuilder
impl Debug for DescribeUserOutputBuilder
source§impl Default for DescribeUserOutputBuilder
impl Default for DescribeUserOutputBuilder
source§fn default() -> DescribeUserOutputBuilder
fn default() -> DescribeUserOutputBuilder
source§impl PartialEq for DescribeUserOutputBuilder
impl PartialEq for DescribeUserOutputBuilder
source§fn eq(&self, other: &DescribeUserOutputBuilder) -> bool
fn eq(&self, other: &DescribeUserOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.