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 ==
.impl StructuralPartialEq for UserPendingChangesBuilder
Auto Trait Implementations§
impl Freeze for UserPendingChangesBuilder
impl RefUnwindSafe for UserPendingChangesBuilder
impl Send for UserPendingChangesBuilder
impl Sync for UserPendingChangesBuilder
impl Unpin for UserPendingChangesBuilder
impl UnwindSafe for UserPendingChangesBuilder
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