public class UserIdentityInfo
extends java.lang.Object
implements java.io.Serializable
Contains information about the identity of a user.
| Constructor and Description |
|---|
UserIdentityInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getEmail()
The email address.
|
java.lang.String |
getFirstName()
The first name.
|
java.lang.String |
getLastName()
The last name.
|
java.lang.String |
getMobile()
The user's mobile number.
|
java.lang.String |
getSecondaryEmail()
The user's secondary email address.
|
int |
hashCode() |
void |
setEmail(java.lang.String email)
The email address.
|
void |
setFirstName(java.lang.String firstName)
The first name.
|
void |
setLastName(java.lang.String lastName)
The last name.
|
void |
setMobile(java.lang.String mobile)
The user's mobile number.
|
void |
setSecondaryEmail(java.lang.String secondaryEmail)
The user's secondary email address.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserIdentityInfo |
withEmail(java.lang.String email)
The email address.
|
UserIdentityInfo |
withFirstName(java.lang.String firstName)
The first name.
|
UserIdentityInfo |
withLastName(java.lang.String lastName)
The last name.
|
UserIdentityInfo |
withMobile(java.lang.String mobile)
The user's mobile number.
|
UserIdentityInfo |
withSecondaryEmail(java.lang.String secondaryEmail)
The user's secondary email address.
|
public java.lang.String getFirstName()
The first name. This is required if you are using Amazon Connect or SAML for identity management.
Constraints:
Length: 1 - 100
The first name. This is required if you are using Amazon Connect or SAML for identity management.
public void setFirstName(java.lang.String firstName)
The first name. This is required if you are using Amazon Connect or SAML for identity management.
Constraints:
Length: 1 - 100
firstName - The first name. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withFirstName(java.lang.String firstName)
The first name. This is required if you are using Amazon Connect or SAML for identity management.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
firstName - The first name. This is required if you are using Amazon Connect or SAML for identity management.
public java.lang.String getLastName()
The last name. This is required if you are using Amazon Connect or SAML for identity management.
Constraints:
Length: 1 - 100
The last name. This is required if you are using Amazon Connect or SAML for identity management.
public void setLastName(java.lang.String lastName)
The last name. This is required if you are using Amazon Connect or SAML for identity management.
Constraints:
Length: 1 - 100
lastName - The last name. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withLastName(java.lang.String lastName)
The last name. This is required if you are using Amazon Connect or SAML for identity management.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 100
lastName - The last name. This is required if you are using Amazon Connect or SAML for identity management.
public java.lang.String getEmail()
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
public void setEmail(java.lang.String email)
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
email - The email address. If you are using SAML for identity management and include this parameter, an error is returned.
public UserIdentityInfo withEmail(java.lang.String email)
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
Returns a reference to this object so that method calls can be chained together.
email - The email address. If you are using SAML for identity management and include this parameter, an error is returned.
public java.lang.String getSecondaryEmail()
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}
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}
public void setSecondaryEmail(java.lang.String secondaryEmail)
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}
secondaryEmail - 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}
public UserIdentityInfo withSecondaryEmail(java.lang.String secondaryEmail)
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}
Returns a reference to this object so that method calls can be chained together.
secondaryEmail - 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}
public java.lang.String getMobile()
The user's mobile number.
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
The user's mobile number.
public void setMobile(java.lang.String mobile)
The user's mobile number.
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
mobile - The user's mobile number.
public UserIdentityInfo withMobile(java.lang.String mobile)
The user's mobile number.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: \\+[1-9]\\d{1,14}$
mobile - The user's mobile number.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object