Struct aws_sdk_connect::model::user_identity_info::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for UserIdentityInfo
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 set_mobile(self, input: Option<String>) -> Self
pub fn set_mobile(self, input: Option<String>) -> Self
The user's mobile number.
sourcepub fn build(self) -> UserIdentityInfo
pub fn build(self) -> UserIdentityInfo
Consumes the builder and constructs a UserIdentityInfo
.