@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.
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.
|
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.
|
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.
|
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 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.