#[non_exhaustive]pub struct UserStackAssociationBuilder { /* private fields */ }
Expand description
A builder for UserStackAssociation
.
Implementations§
source§impl UserStackAssociationBuilder
impl UserStackAssociationBuilder
sourcepub fn stack_name(self, input: impl Into<String>) -> Self
pub fn stack_name(self, input: impl Into<String>) -> Self
The name of the stack that is associated with the user.
This field is required.sourcepub fn set_stack_name(self, input: Option<String>) -> Self
pub fn set_stack_name(self, input: Option<String>) -> Self
The name of the stack that is associated with the user.
sourcepub fn get_stack_name(&self) -> &Option<String>
pub fn get_stack_name(&self) -> &Option<String>
The name of the stack that is associated with the user.
sourcepub fn user_name(self, input: impl Into<String>) -> Self
pub fn user_name(self, input: impl Into<String>) -> Self
The email address of the user who is associated with the stack.
Users' email addresses are case-sensitive.
sourcepub fn set_user_name(self, input: Option<String>) -> Self
pub fn set_user_name(self, input: Option<String>) -> Self
The email address of the user who is associated with the stack.
Users' email addresses are case-sensitive.
sourcepub fn get_user_name(&self) -> &Option<String>
pub fn get_user_name(&self) -> &Option<String>
The email address of the user who is associated with the stack.
Users' email addresses are case-sensitive.
sourcepub fn authentication_type(self, input: AuthenticationType) -> Self
pub fn authentication_type(self, input: AuthenticationType) -> Self
The authentication type for the user.
This field is required.sourcepub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
pub fn set_authentication_type(self, input: Option<AuthenticationType>) -> Self
The authentication type for the user.
sourcepub fn get_authentication_type(&self) -> &Option<AuthenticationType>
pub fn get_authentication_type(&self) -> &Option<AuthenticationType>
The authentication type for the user.
sourcepub fn send_email_notification(self, input: bool) -> Self
pub fn send_email_notification(self, input: bool) -> Self
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
sourcepub fn set_send_email_notification(self, input: Option<bool>) -> Self
pub fn set_send_email_notification(self, input: Option<bool>) -> Self
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
sourcepub fn get_send_email_notification(&self) -> &Option<bool>
pub fn get_send_email_notification(&self) -> &Option<bool>
Specifies whether a welcome email is sent to a user after the user is created in the user pool.
sourcepub fn build(self) -> UserStackAssociation
pub fn build(self) -> UserStackAssociation
Consumes the builder and constructs a UserStackAssociation
.
Trait Implementations§
source§impl Clone for UserStackAssociationBuilder
impl Clone for UserStackAssociationBuilder
source§fn clone(&self) -> UserStackAssociationBuilder
fn clone(&self) -> UserStackAssociationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserStackAssociationBuilder
impl Debug for UserStackAssociationBuilder
source§impl Default for UserStackAssociationBuilder
impl Default for UserStackAssociationBuilder
source§fn default() -> UserStackAssociationBuilder
fn default() -> UserStackAssociationBuilder
source§impl PartialEq for UserStackAssociationBuilder
impl PartialEq for UserStackAssociationBuilder
source§fn eq(&self, other: &UserStackAssociationBuilder) -> bool
fn eq(&self, other: &UserStackAssociationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserStackAssociationBuilder
Auto Trait Implementations§
impl Freeze for UserStackAssociationBuilder
impl RefUnwindSafe for UserStackAssociationBuilder
impl Send for UserStackAssociationBuilder
impl Sync for UserStackAssociationBuilder
impl Unpin for UserStackAssociationBuilder
impl UnwindSafe for UserStackAssociationBuilder
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