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<UserIdentityInfoBuilder> for UserIdentityInfoBuilder
impl PartialEq<UserIdentityInfoBuilder> 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 ==
.