Struct aws_sdk_mq::types::builders::UserPendingChangesBuilder
source · #[non_exhaustive]pub struct UserPendingChangesBuilder { /* private fields */ }
Expand description
A builder for UserPendingChanges
.
Implementations§
source§impl UserPendingChangesBuilder
impl UserPendingChangesBuilder
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_change(self, input: ChangeType) -> Self
pub fn pending_change(self, input: ChangeType) -> Self
Required. The type of change pending for the ActiveMQ user.
This field is required.sourcepub fn set_pending_change(self, input: Option<ChangeType>) -> Self
pub fn set_pending_change(self, input: Option<ChangeType>) -> Self
Required. The type of change pending for the ActiveMQ user.
sourcepub fn get_pending_change(&self) -> &Option<ChangeType>
pub fn get_pending_change(&self) -> &Option<ChangeType>
Required. The type of change pending for the ActiveMQ user.
sourcepub fn build(self) -> UserPendingChanges
pub fn build(self) -> UserPendingChanges
Consumes the builder and constructs a UserPendingChanges
.
Trait Implementations§
source§impl Clone for UserPendingChangesBuilder
impl Clone for UserPendingChangesBuilder
source§fn clone(&self) -> UserPendingChangesBuilder
fn clone(&self) -> UserPendingChangesBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserPendingChangesBuilder
impl Debug for UserPendingChangesBuilder
source§impl Default for UserPendingChangesBuilder
impl Default for UserPendingChangesBuilder
source§fn default() -> UserPendingChangesBuilder
fn default() -> UserPendingChangesBuilder
source§impl PartialEq for UserPendingChangesBuilder
impl PartialEq for UserPendingChangesBuilder
source§fn eq(&self, other: &UserPendingChangesBuilder) -> bool
fn eq(&self, other: &UserPendingChangesBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.