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.
|
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.
|
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.
|
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 toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.