@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserIdentityInfo extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the identity of a user.
For Amazon Connect instances that are created with the EXISTING_DIRECTORY
identity management type,
FirstName
, LastName
, and Email
cannot be updated from within Amazon Connect
because they are managed by the directory.
Constructor and Description |
---|
UserIdentityInfo() |
Modifier and Type | Method and Description |
---|---|
UserIdentityInfo |
clone() |
boolean |
equals(Object obj) |
String |
getEmail()
The email address.
|
String |
getFirstName()
The first name.
|
String |
getLastName()
The last name.
|
String |
getMobile()
The user's mobile number.
|
String |
getSecondaryEmail()
The user's secondary email address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEmail(String email)
The email address.
|
void |
setFirstName(String firstName)
The first name.
|
void |
setLastName(String lastName)
The last name.
|
void |
setMobile(String mobile)
The user's mobile number.
|
void |
setSecondaryEmail(String secondaryEmail)
The user's secondary email address.
|
String |
toString()
Returns a string representation of this object.
|
UserIdentityInfo |
withEmail(String email)
The email address.
|
UserIdentityInfo |
withFirstName(String firstName)
The first name.
|
UserIdentityInfo |
withLastName(String lastName)
The last name.
|
UserIdentityInfo |
withMobile(String mobile)
The user's mobile number.
|
UserIdentityInfo |
withSecondaryEmail(String secondaryEmail)
The user's secondary email address.
|
public void setFirstName(String firstName)
The first name. This is required if you are using Amazon Connect or SAML for identity management.
firstName
- The first name. This is required if you are using Amazon Connect or SAML for identity management.public String getFirstName()
The first name. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withFirstName(String firstName)
The first name. This is required if you are using Amazon Connect or SAML for identity management.
firstName
- The first name. This is required if you are using Amazon Connect or SAML for identity management.public void setLastName(String lastName)
The last name. This is required if you are using Amazon Connect or SAML for identity management.
lastName
- The last name. This is required if you are using Amazon Connect or SAML for identity management.public String getLastName()
The last name. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withLastName(String lastName)
The last name. This is required if you are using Amazon Connect or SAML for identity management.
lastName
- The last name. This is required if you are using Amazon Connect or SAML for identity management.public void setEmail(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 String getEmail()
The email address. If you are using SAML for identity management and include this parameter, an error is returned.
public UserIdentityInfo withEmail(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 void setSecondaryEmail(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 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}
Pattern: (?=^.{0,265}$)[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,63}
public UserIdentityInfo withSecondaryEmail(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 void setMobile(String mobile)
The user's mobile number.
mobile
- The user's mobile number.public String getMobile()
The user's mobile number.
public UserIdentityInfo withMobile(String mobile)
The user's mobile number.
mobile
- The user's mobile number.public String toString()
toString
in class Object
Object.toString()
public UserIdentityInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.