@Generated(value="software.amazon.awssdk:codegen") public final class User extends Object implements SdkPojo, Serializable, ToCopyableBuilder<User.Builder,User>
Describes a user in the user pool.
| Modifier and Type | Class and Description |
|---|---|
static interface |
User.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
arn()
The ARN of the user.
|
AuthenticationType |
authenticationType()
The authentication type for the user.
|
String |
authenticationTypeAsString()
The authentication type for the user.
|
static User.Builder |
builder() |
Instant |
createdTime()
The date and time the user was created in the user pool.
|
Boolean |
enabled()
Specifies whether the user in the user pool is enabled.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
firstName()
The first name, or given name, of the user.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
lastName()
The last name, or surname, of the user.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends User.Builder> |
serializableBuilderClass() |
String |
status()
The status of the user in the user pool.
|
User.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
userName()
The email address of the user.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String arn()
The ARN of the user.
public final String userName()
The email address of the user.
Users' email addresses are case-sensitive.
Users' email addresses are case-sensitive.
public final Boolean enabled()
Specifies whether the user in the user pool is enabled.
public final String status()
The status of the user in the user pool. The status can be one of the following:
UNCONFIRMED – The user is created but not confirmed.
CONFIRMED – The user is confirmed.
ARCHIVED – The user is no longer active.
COMPROMISED – The user is disabled because of a potential security threat.
UNKNOWN – The user status is not known.
UNCONFIRMED – The user is created but not confirmed.
CONFIRMED – The user is confirmed.
ARCHIVED – The user is no longer active.
COMPROMISED – The user is disabled because of a potential security threat.
UNKNOWN – The user status is not known.
public final String firstName()
The first name, or given name, of the user.
public final String lastName()
The last name, or surname, of the user.
public final Instant createdTime()
The date and time the user was created in the user pool.
public final AuthenticationType authenticationType()
The authentication type for the user.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic final String authenticationTypeAsString()
The authentication type for the user.
If the service returns an enum value that is not available in the current SDK version,
authenticationType will return AuthenticationType.UNKNOWN_TO_SDK_VERSION. The raw value returned
by the service is available from authenticationTypeAsString().
AuthenticationTypepublic User.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<User.Builder,User>public static User.Builder builder()
public static Class<? extends User.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.