@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UserIdentityInfo extends Object implements Serializable, Cloneable, StructuredPojo
A UserIdentityInfo object that contains information about the user's identity, including email address,
first name, and last name.
| Constructor and Description |
|---|
UserIdentityInfo() |
| Modifier and Type | Method and Description |
|---|---|
UserIdentityInfo |
clone() |
boolean |
equals(Object obj) |
String |
getEmail()
The email address added to the user account.
|
String |
getFirstName()
The first name used in the user account.
|
String |
getLastName()
The last name used in the user account.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setEmail(String email)
The email address added to the user account.
|
void |
setFirstName(String firstName)
The first name used in the user account.
|
void |
setLastName(String lastName)
The last name used in the user account.
|
String |
toString()
Returns a string representation of this object.
|
UserIdentityInfo |
withEmail(String email)
The email address added to the user account.
|
UserIdentityInfo |
withFirstName(String firstName)
The first name used in the user account.
|
UserIdentityInfo |
withLastName(String lastName)
The last name used in the user account.
|
public void setFirstName(String firstName)
The first name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
firstName - The first name used in the user account. This is required if you are using Amazon Connect or SAML for
identity management.public String getFirstName()
The first name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withFirstName(String firstName)
The first name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
firstName - The first name used in the user account. This is required if you are using Amazon Connect or SAML for
identity management.public void setLastName(String lastName)
The last name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
lastName - The last name used in the user account. This is required if you are using Amazon Connect or SAML for
identity management.public String getLastName()
The last name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
public UserIdentityInfo withLastName(String lastName)
The last name used in the user account. This is required if you are using Amazon Connect or SAML for identity management.
lastName - The last name used in the user account. This is required if you are using Amazon Connect or SAML for
identity management.public void setEmail(String email)
The email address added to the user account. If you are using SAML for identity management and include this
parameter, an InvalidRequestException is returned.
email - The email address added to the user account. If you are using SAML for identity management and include
this parameter, an InvalidRequestException is returned.public String getEmail()
The email address added to the user account. If you are using SAML for identity management and include this
parameter, an InvalidRequestException is returned.
InvalidRequestException is returned.public UserIdentityInfo withEmail(String email)
The email address added to the user account. If you are using SAML for identity management and include this
parameter, an InvalidRequestException is returned.
email - The email address added to the user account. If you are using SAML for identity management and include
this parameter, an InvalidRequestException is returned.public String toString()
toString in class ObjectObject.toString()public UserIdentityInfo clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.