@Generated(value="software.amazon.awssdk:codegen") public final class UserIdentityInfo extends Object implements SdkPojo, Serializable, ToCopyableBuilder<UserIdentityInfo.Builder,UserIdentityInfo>
A UserIdentityInfo object that contains information about the user's identity, including email address,
first name, and last name.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UserIdentityInfo.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UserIdentityInfo.Builder |
builder() |
String |
email()
The email address added to the user account.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
The first name used in the user account.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastName()
The last name used in the user account.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UserIdentityInfo.Builder> |
serializableBuilderClass() |
UserIdentityInfo.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String 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 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 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.
InvalidRequestException is returned.public UserIdentityInfo.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UserIdentityInfo.Builder,UserIdentityInfo>public static UserIdentityInfo.Builder builder()
public static Class<? extends UserIdentityInfo.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2019. All rights reserved.