Struct aws_sdk_connect::types::builders::UserIdentityInfoBuilder
source · #[non_exhaustive]pub struct UserIdentityInfoBuilder { /* private fields */ }
Expand description
A builder for UserIdentityInfo
.
Implementations§
source§impl UserIdentityInfoBuilder
impl UserIdentityInfoBuilder
sourcepub fn first_name(self, input: impl Into<String>) -> Self
pub fn first_name(self, input: impl Into<String>) -> Self
The first name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn set_first_name(self, input: Option<String>) -> Self
pub fn set_first_name(self, input: Option<String>) -> Self
The first name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn get_first_name(&self) -> &Option<String>
pub fn get_first_name(&self) -> &Option<String>
The first name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn last_name(self, input: impl Into<String>) -> Self
pub fn last_name(self, input: impl Into<String>) -> Self
The last name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn set_last_name(self, input: Option<String>) -> Self
pub fn set_last_name(self, input: Option<String>) -> Self
The last name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn get_last_name(&self) -> &Option<String>
pub fn get_last_name(&self) -> &Option<String>
The last name. This is required if you are using Amazon Connect or SAML for identity management.
sourcepub fn email(self, input: impl Into<String>) -> Self
pub fn email(self, input: impl Into<String>) -> Self
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
sourcepub fn set_email(self, input: Option<String>) -> Self
pub fn set_email(self, input: Option<String>) -> Self
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
sourcepub fn get_email(&self) -> &Option<String>
pub fn get_email(&self) -> &Option<String>
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
sourcepub fn secondary_email(self, input: impl Into<String>) -> Self
pub fn secondary_email(self, input: impl Into<String>) -> Self
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
sourcepub fn set_secondary_email(self, input: Option<String>) -> Self
pub fn set_secondary_email(self, input: Option<String>) -> Self
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
sourcepub fn get_secondary_email(&self) -> &Option<String>
pub fn get_secondary_email(&self) -> &Option<String>
The user's secondary email address. If you provide a secondary email, the user receives email notifications - other than password reset notifications - to this email address instead of to their primary email address.
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
sourcepub fn set_mobile(self, input: Option<String>) -> Self
pub fn set_mobile(self, input: Option<String>) -> Self
The user's mobile number.
sourcepub fn get_mobile(&self) -> &Option<String>
pub fn get_mobile(&self) -> &Option<String>
The user's mobile number.
sourcepub fn build(self) -> UserIdentityInfo
pub fn build(self) -> UserIdentityInfo
Consumes the builder and constructs a UserIdentityInfo
.
Trait Implementations§
source§impl Clone for UserIdentityInfoBuilder
impl Clone for UserIdentityInfoBuilder
source§fn clone(&self) -> UserIdentityInfoBuilder
fn clone(&self) -> UserIdentityInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UserIdentityInfoBuilder
impl Debug for UserIdentityInfoBuilder
source§impl Default for UserIdentityInfoBuilder
impl Default for UserIdentityInfoBuilder
source§fn default() -> UserIdentityInfoBuilder
fn default() -> UserIdentityInfoBuilder
source§impl PartialEq for UserIdentityInfoBuilder
impl PartialEq for UserIdentityInfoBuilder
source§fn eq(&self, other: &UserIdentityInfoBuilder) -> bool
fn eq(&self, other: &UserIdentityInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UserIdentityInfoBuilder
Auto Trait Implementations§
impl Freeze for UserIdentityInfoBuilder
impl RefUnwindSafe for UserIdentityInfoBuilder
impl Send for UserIdentityInfoBuilder
impl Sync for UserIdentityInfoBuilder
impl Unpin for UserIdentityInfoBuilder
impl UnwindSafe for UserIdentityInfoBuilder
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