public class AdminGetUserResult
extends java.lang.Object
implements java.io.Serializable
Represents the response from the server from the request to get the specified user as an administrator.
| Constructor and Description |
|---|
AdminGetUserResult() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getEnabled()
Indicates that the status is
enabled. |
java.util.List<MFAOptionType> |
getMFAOptions()
This response parameter is no longer supported. It provides
information only about SMS MFA configurations.
|
java.lang.String |
getPreferredMfaSetting()
The user's preferred MFA setting.
|
java.util.List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
java.util.Date |
getUserCreateDate()
The date the user was created.
|
java.util.Date |
getUserLastModifiedDate()
The date and time, in ISO
8601 format, when the item was modified.
|
java.util.List<java.lang.String> |
getUserMFASettingList()
The MFA options that are activated for the user.
|
java.lang.String |
getUsername()
The username of the user that you requested.
|
java.lang.String |
getUserStatus()
The user status.
|
int |
hashCode() |
java.lang.Boolean |
isEnabled()
Indicates that the status is
enabled. |
void |
setEnabled(java.lang.Boolean enabled)
Indicates that the status is
enabled. |
void |
setMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
This response parameter is no longer supported. It provides
information only about SMS MFA configurations.
|
void |
setPreferredMfaSetting(java.lang.String preferredMfaSetting)
The user's preferred MFA setting.
|
void |
setUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
void |
setUserCreateDate(java.util.Date userCreateDate)
The date the user was created.
|
void |
setUserLastModifiedDate(java.util.Date userLastModifiedDate)
The date and time, in ISO
8601 format, when the item was modified.
|
void |
setUserMFASettingList(java.util.Collection<java.lang.String> userMFASettingList)
The MFA options that are activated for the user.
|
void |
setUsername(java.lang.String username)
The username of the user that you requested.
|
void |
setUserStatus(java.lang.String userStatus)
The user status.
|
void |
setUserStatus(UserStatusType userStatus)
The user status.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetUserResult |
withEnabled(java.lang.Boolean enabled)
Indicates that the status is
enabled. |
AdminGetUserResult |
withMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
This response parameter is no longer supported. It provides
information only about SMS MFA configurations.
|
AdminGetUserResult |
withMFAOptions(MFAOptionType... mFAOptions)
This response parameter is no longer supported. It provides
information only about SMS MFA configurations.
|
AdminGetUserResult |
withPreferredMfaSetting(java.lang.String preferredMfaSetting)
The user's preferred MFA setting.
|
AdminGetUserResult |
withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResult |
withUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResult |
withUserCreateDate(java.util.Date userCreateDate)
The date the user was created.
|
AdminGetUserResult |
withUserLastModifiedDate(java.util.Date userLastModifiedDate)
The date and time, in ISO
8601 format, when the item was modified.
|
AdminGetUserResult |
withUserMFASettingList(java.util.Collection<java.lang.String> userMFASettingList)
The MFA options that are activated for the user.
|
AdminGetUserResult |
withUserMFASettingList(java.lang.String... userMFASettingList)
The MFA options that are activated for the user.
|
AdminGetUserResult |
withUsername(java.lang.String username)
The username of the user that you requested.
|
AdminGetUserResult |
withUserStatus(java.lang.String userStatus)
The user status.
|
AdminGetUserResult |
withUserStatus(UserStatusType userStatus)
The user status.
|
public java.lang.String getUsername()
The username of the user that you requested.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The username of the user that you requested.
public void setUsername(java.lang.String username)
The username of the user that you requested.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username of the user that you requested.
public AdminGetUserResult withUsername(java.lang.String username)
The username of the user that you requested.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The username of the user that you requested.
public java.util.List<AttributeType> getUserAttributes()
An array of name-value pairs representing user attributes.
An array of name-value pairs representing user attributes.
public void setUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
userAttributes - An array of name-value pairs representing user attributes.
public AdminGetUserResult withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
Returns a reference to this object so that method calls can be chained together.
userAttributes - An array of name-value pairs representing user attributes.
public AdminGetUserResult withUserAttributes(java.util.Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
Returns a reference to this object so that method calls can be chained together.
userAttributes - An array of name-value pairs representing user attributes.
public java.util.Date getUserCreateDate()
The date the user was created.
The date the user was created.
public void setUserCreateDate(java.util.Date userCreateDate)
The date the user was created.
userCreateDate - The date the user was created.
public AdminGetUserResult withUserCreateDate(java.util.Date userCreateDate)
The date the user was created.
Returns a reference to this object so that method calls can be chained together.
userCreateDate - The date the user was created.
public java.util.Date getUserLastModifiedDate()
The date and time, in ISO 8601 format, when the item was modified.
The date and time, in ISO 8601 format, when the item was modified.
public void setUserLastModifiedDate(java.util.Date userLastModifiedDate)
The date and time, in ISO 8601 format, when the item was modified.
userLastModifiedDate - The date and time, in ISO 8601 format, when the item was modified.
public AdminGetUserResult withUserLastModifiedDate(java.util.Date userLastModifiedDate)
The date and time, in ISO 8601 format, when the item was modified.
Returns a reference to this object so that method calls can be chained together.
userLastModifiedDate - The date and time, in ISO 8601 format, when the item was modified.
public java.lang.Boolean isEnabled()
Indicates that the status is enabled.
Indicates that the status is enabled.
public java.lang.Boolean getEnabled()
Indicates that the status is enabled.
Indicates that the status is enabled.
public void setEnabled(java.lang.Boolean enabled)
Indicates that the status is enabled.
enabled -
Indicates that the status is enabled.
public AdminGetUserResult withEnabled(java.lang.Boolean enabled)
Indicates that the status is enabled.
Returns a reference to this object so that method calls can be chained together.
enabled -
Indicates that the status is enabled.
public java.lang.String getUserStatus()
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
UserStatusTypepublic void setUserStatus(java.lang.String userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
userStatus - The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
UserStatusTypepublic AdminGetUserResult withUserStatus(java.lang.String userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
userStatus - The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
UserStatusTypepublic void setUserStatus(UserStatusType userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
userStatus - The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
UserStatusTypepublic AdminGetUserResult withUserStatus(UserStatusType userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: UNCONFIRMED, CONFIRMED, ARCHIVED, COMPROMISED,
UNKNOWN, RESET_REQUIRED, FORCE_CHANGE_PASSWORD
userStatus - The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
UNKNOWN - User status isn't known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset their password before they can sign in.
FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in using a temporary password, but on first sign-in, the user must change their password to a new value before doing anything else.
UserStatusTypepublic java.util.List<MFAOptionType> getMFAOptions()
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
public void setMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
mFAOptions - This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
public AdminGetUserResult withMFAOptions(MFAOptionType... mFAOptions)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
public AdminGetUserResult withMFAOptions(java.util.Collection<MFAOptionType> mFAOptions)
This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - This response parameter is no longer supported. It provides information only about SMS MFA configurations. It doesn't provide information about time-based one-time password (TOTP) software token MFA configurations. To look up information about either type of MFA configuration, use UserMFASettingList instead.
public java.lang.String getPreferredMfaSetting()
The user's preferred MFA setting.
Constraints:
Length: 0 - 131072
The user's preferred MFA setting.
public void setPreferredMfaSetting(java.lang.String preferredMfaSetting)
The user's preferred MFA setting.
Constraints:
Length: 0 - 131072
preferredMfaSetting - The user's preferred MFA setting.
public AdminGetUserResult withPreferredMfaSetting(java.lang.String preferredMfaSetting)
The user's preferred MFA setting.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 131072
preferredMfaSetting - The user's preferred MFA setting.
public java.util.List<java.lang.String> getUserMFASettingList()
The MFA options that are activated for the user. The possible values in
this list are SMS_MFA and SOFTWARE_TOKEN_MFA.
The MFA options that are activated for the user. The possible
values in this list are SMS_MFA and
SOFTWARE_TOKEN_MFA.
public void setUserMFASettingList(java.util.Collection<java.lang.String> userMFASettingList)
The MFA options that are activated for the user. The possible values in
this list are SMS_MFA and SOFTWARE_TOKEN_MFA.
userMFASettingList -
The MFA options that are activated for the user. The possible
values in this list are SMS_MFA and
SOFTWARE_TOKEN_MFA.
public AdminGetUserResult withUserMFASettingList(java.lang.String... userMFASettingList)
The MFA options that are activated for the user. The possible values in
this list are SMS_MFA and SOFTWARE_TOKEN_MFA.
Returns a reference to this object so that method calls can be chained together.
userMFASettingList -
The MFA options that are activated for the user. The possible
values in this list are SMS_MFA and
SOFTWARE_TOKEN_MFA.
public AdminGetUserResult withUserMFASettingList(java.util.Collection<java.lang.String> userMFASettingList)
The MFA options that are activated for the user. The possible values in
this list are SMS_MFA and SOFTWARE_TOKEN_MFA.
Returns a reference to this object so that method calls can be chained together.
userMFASettingList -
The MFA options that are activated for the user. The possible
values in this list are SMS_MFA and
SOFTWARE_TOKEN_MFA.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object