public class UserType extends Object implements Serializable
The user type.
| Constructor and Description |
|---|
UserType() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
List<AttributeType> |
getAttributes()
A container with information about the user type attributes.
|
Boolean |
getEnabled()
Specifies whether the user is enabled.
|
List<MFAOptionType> |
getMFAOptions()
The MFA options for the user.
|
Date |
getUserCreateDate()
The creation date of the user.
|
Date |
getUserLastModifiedDate()
The last modified date of the user.
|
String |
getUsername()
The user name of the user you wish to describe.
|
String |
getUserStatus()
The user status.
|
int |
hashCode() |
Boolean |
isEnabled()
Specifies whether the user is enabled.
|
void |
setAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
void |
setEnabled(Boolean enabled)
Specifies whether the user is enabled.
|
void |
setMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
|
void |
setUserCreateDate(Date userCreateDate)
The creation date of the user.
|
void |
setUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
|
void |
setUsername(String username)
The user name of the user you wish to describe.
|
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.
|
UserType |
withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
|
UserType |
withAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
|
UserType |
withEnabled(Boolean enabled)
Specifies whether the user is enabled.
|
UserType |
withMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
|
UserType |
withMFAOptions(MFAOptionType... mFAOptions)
The MFA options for the user.
|
UserType |
withUserCreateDate(Date userCreateDate)
The creation date of the user.
|
UserType |
withUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
|
UserType |
withUsername(String username)
The user name of the user you wish to describe.
|
UserType |
withUserStatus(String userStatus)
The user status.
|
UserType |
withUserStatus(UserStatusType userStatus)
The user status.
|
public String getUsername()
The user name of the user you wish to describe.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
The user name of the user you wish to describe.
public void setUsername(String username)
The user name of the user you wish to describe.
Constraints:
Length: 1 - 128
Pattern: [\p{L}\p{M}\p{S}\p{N}\p{P}]+
username - The user name of the user you wish to describe.
public UserType withUsername(String username)
The user name of the user you wish to describe.
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 you wish to describe.
public List<AttributeType> getAttributes()
A container with information about the user type attributes.
A container with information about the user type attributes.
public void setAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
attributes - A container with information about the user type attributes.
public UserType withAttributes(AttributeType... attributes)
A container with information about the user type attributes.
Returns a reference to this object so that method calls can be chained together.
attributes - A container with information about the user type attributes.
public UserType withAttributes(Collection<AttributeType> attributes)
A container with information about the user type attributes.
Returns a reference to this object so that method calls can be chained together.
attributes - A container with information about the user type attributes.
public Date getUserCreateDate()
The creation date of the user.
The creation date of the user.
public void setUserCreateDate(Date userCreateDate)
The creation date of the user.
userCreateDate - The creation date of the user.
public UserType withUserCreateDate(Date userCreateDate)
The creation date of the user.
Returns a reference to this object so that method calls can be chained together.
userCreateDate - The creation date of the user.
public Date getUserLastModifiedDate()
The last modified date of the user.
The last modified date of the user.
public void setUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
userLastModifiedDate - The last modified date of the user.
public UserType withUserLastModifiedDate(Date userLastModifiedDate)
The last modified date of the user.
Returns a reference to this object so that method calls can be chained together.
userLastModifiedDate - The last modified date of the user.
public Boolean isEnabled()
Specifies whether the user is enabled.
Specifies whether the user is enabled.
public Boolean getEnabled()
Specifies whether the user is enabled.
Specifies whether the user is enabled.
public void setEnabled(Boolean enabled)
Specifies whether the user is enabled.
enabled - Specifies whether the user is enabled.
public UserType withEnabled(Boolean enabled)
Specifies whether the user is enabled.
Returns a reference to this object so that method calls can be chained together.
enabled - Specifies whether the user 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 UserType 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 UserType 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()
The MFA options for the user.
The MFA options for the user.
public void setMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
mFAOptions - The MFA options for the user.
public UserType withMFAOptions(MFAOptionType... mFAOptions)
The MFA options for the user.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - The MFA options for the user.
public UserType withMFAOptions(Collection<MFAOptionType> mFAOptions)
The MFA options for the user.
Returns a reference to this object so that method calls can be chained together.
mFAOptions - The MFA options for the user.
public String toString()
toString in class ObjectObject.toString()Copyright © 2020. All rights reserved.