@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) |
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()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<UserIdentityInfo.Builder,UserIdentityInfo>
public static UserIdentityInfo.Builder builder()
public static Class<? extends UserIdentityInfo.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.