public class AdminGetUserResult extends Object implements 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(Object obj) |
Boolean |
getEnabled()
Indicates that the status is enabled.
|
List<MFAOptionType> |
getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
|
String |
getPreferredMfaSetting()
The user's preferred MFA setting.
|
List<AttributeType> |
getUserAttributes()
An array of name-value pairs representing user attributes.
|
Date |
getUserCreateDate()
The date the user was created.
|
Date |
getUserLastModifiedDate()
The date the user was last modified.
|
List<String> |
getUserMFASettingList()
The list of the user's MFA settings.
|
String |
getUsername()
The user name of the user about whom you are receiving information.
|
String |
getUserStatus()
The user status.
|
int |
hashCode() |
Boolean |
isEnabled()
Indicates that the status is enabled.
|
void |
setEnabled(Boolean enabled)
Indicates that the status is enabled.
|
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
void |
setPreferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
|
void |
setUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
void |
setUserCreateDate(Date userCreateDate)
The date the user was created.
|
void |
setUserLastModifiedDate(Date userLastModifiedDate)
The date the user was last modified.
|
void |
setUserMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
|
void |
setUsername(String username)
The user name of the user about whom you are receiving information.
|
void |
setUserStatus(String userStatus)
The user status.
|
void |
setUserStatus(UserStatusType userStatus)
The user status.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AdminGetUserResult |
withEnabled(Boolean enabled)
Indicates that the status is enabled.
|
AdminGetUserResult |
withMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResult |
withMFAOptions(MFAOptionType... mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
|
AdminGetUserResult |
withPreferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
|
AdminGetUserResult |
withUserAttributes(AttributeType... userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResult |
withUserAttributes(Collection<AttributeType> userAttributes)
An array of name-value pairs representing user attributes.
|
AdminGetUserResult |
withUserCreateDate(Date userCreateDate)
The date the user was created.
|
AdminGetUserResult |
withUserLastModifiedDate(Date userLastModifiedDate)
The date the user was last modified.
|
AdminGetUserResult |
withUserMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
|
AdminGetUserResult |
withUserMFASettingList(String... userMFASettingList)
The list of the user's MFA settings.
|
AdminGetUserResult |
withUsername(String username)
The user name of the user about whom you are receiving information.
|
AdminGetUserResult |
withUserStatus(String userStatus)
The user status.
|
AdminGetUserResult |
withUserStatus(UserStatusType userStatus)
The user status.
|
public String getUsername()
The user name of the user about whom you are receiving information.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user about whom you are receiving information.
public void setUsername(String username)
The user name of the user about whom you are receiving information.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user about whom you are receiving information.
public AdminGetUserResult withUsername(String username)
The user name of the user about whom you are receiving information.
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 user name of the user about whom you are receiving information.
public List<AttributeType> getUserAttributes()
An array of name-value pairs representing user attributes.
An array of name-value pairs representing user attributes.
public void setUserAttributes(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(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 Date getUserCreateDate()
The date the user was created.
The date the user was created.
public void setUserCreateDate(Date userCreateDate)
The date the user was created.
userCreateDate - The date the user was created.
public AdminGetUserResult withUserCreateDate(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 Date getUserLastModifiedDate()
The date the user was last modified.
The date the user was last modified.
public void setUserLastModifiedDate(Date userLastModifiedDate)
The date the user was last modified.
userLastModifiedDate - The date the user was last modified.
public AdminGetUserResult withUserLastModifiedDate(Date userLastModifiedDate)
The date the user was last modified.
Returns a reference to this object so that method calls can be chained together.
userLastModifiedDate - The date the user was last modified.
public Boolean isEnabled()
Indicates that the status is enabled.
Indicates that the status is enabled.
public Boolean getEnabled()
Indicates that the status is enabled.
Indicates that the status is enabled.
public void setEnabled(Boolean enabled)
Indicates that the status is enabled.
enabled - Indicates that the status is enabled.
public AdminGetUserResult withEnabled(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 String getUserStatus()
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
UserStatusTypepublic void setUserStatus(String userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
UserStatusTypepublic AdminGetUserResult withUserStatus(String userStatus)
The user status. Can be one of the following:
UNCONFIRMED - User has been created but not confirmed.
CONFIRMED - User has been confirmed.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her 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.
ARCHIVED - User is no longer active.
COMPROMISED - User is disabled due to a potential security threat.
UNKNOWN - User status is not known.
RESET_REQUIRED - User is confirmed, but the user must request a code and reset his or her password before he or she 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 his or her password to a new value before doing anything else.
UserStatusTypepublic List<MFAOptionType> getMFAOptions()
Specifies the options for MFA (e.g., email or phone number).
Specifies the options for MFA (e.g., email or phone number).
public void setMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
mFAOptions - Specifies the options for MFA (e.g., email or phone number).
public AdminGetUserResult withMFAOptions(MFAOptionType... mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
Returns a reference to this object so that method calls can be chained together.
mFAOptions - Specifies the options for MFA (e.g., email or phone number).
public AdminGetUserResult withMFAOptions(Collection<MFAOptionType> mFAOptions)
Specifies the options for MFA (e.g., email or phone number).
Returns a reference to this object so that method calls can be chained together.
mFAOptions - Specifies the options for MFA (e.g., email or phone number).
public String getPreferredMfaSetting()
The user's preferred MFA setting.
The user's preferred MFA setting.
public void setPreferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
preferredMfaSetting - The user's preferred MFA setting.
public AdminGetUserResult withPreferredMfaSetting(String preferredMfaSetting)
The user's preferred MFA setting.
Returns a reference to this object so that method calls can be chained together.
preferredMfaSetting - The user's preferred MFA setting.
public List<String> getUserMFASettingList()
The list of the user's MFA settings.
The list of the user's MFA settings.
public void setUserMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
userMFASettingList - The list of the user's MFA settings.
public AdminGetUserResult withUserMFASettingList(String... userMFASettingList)
The list of the user's MFA settings.
Returns a reference to this object so that method calls can be chained together.
userMFASettingList - The list of the user's MFA settings.
public AdminGetUserResult withUserMFASettingList(Collection<String> userMFASettingList)
The list of the user's MFA settings.
Returns a reference to this object so that method calls can be chained together.
userMFASettingList - The list of the user's MFA settings.
public String toString()
toString in class ObjectObject.toString()Copyright © 2019. All rights reserved.