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