Class AdminGetUserResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the response from the server from the request to get the specified user as an administrator.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Indicates that the status is enabled.Specifies the options for MFA (e.g., email or phone number).An array of name-value pairs representing user attributes.The date the user was created.The date the user was last modified.The user name of the user about whom you are receiving information.The user status.int
hashCode()
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
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
setUsername
(String username) The user name of the user about whom you are receiving information.void
setUserStatus
(UserStatusType userStatus) The user status.void
setUserStatus
(String userStatus) The user status.toString()
Returns a string representation of this object; useful for testing and debugging.withEnabled
(Boolean enabled) Indicates that the status is enabled.withMFAOptions
(MFAOptionType... mFAOptions) Specifies the options for MFA (e.g., email or phone number).withMFAOptions
(Collection<MFAOptionType> mFAOptions) Specifies the options for MFA (e.g., email or phone number).withUserAttributes
(AttributeType... userAttributes) An array of name-value pairs representing user attributes.withUserAttributes
(Collection<AttributeType> userAttributes) An array of name-value pairs representing user attributes.withUserCreateDate
(Date userCreateDate) The date the user was created.withUserLastModifiedDate
(Date userLastModifiedDate) The date the user was last modified.withUsername
(String username) The user name of the user about whom you are receiving information.withUserStatus
(UserStatusType userStatus) The user status.withUserStatus
(String userStatus) The user status.
-
Constructor Details
-
AdminGetUserResult
public AdminGetUserResult()
-
-
Method Details
-
setUsername
The user name of the user about whom you are receiving information.
- Parameters:
username
- The user name of the user about whom you are receiving information.
-
getUsername
The user name of the user about whom you are receiving information.
- Returns:
- The user name of the user about whom you are receiving information.
-
withUsername
The user name of the user about whom you are receiving information.
- Parameters:
username
- The user name of the user about whom you are receiving information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getUserAttributes
An array of name-value pairs representing user attributes.
- Returns:
- An array of name-value pairs representing user attributes.
-
setUserAttributes
An array of name-value pairs representing user attributes.
- Parameters:
userAttributes
- An array of name-value pairs representing user attributes.
-
withUserAttributes
An array of name-value pairs representing user attributes.
NOTE: This method appends the values to the existing list (if any). Use
setUserAttributes(java.util.Collection)
orwithUserAttributes(java.util.Collection)
if you want to override the existing values.- Parameters:
userAttributes
- An array of name-value pairs representing user attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withUserAttributes
An array of name-value pairs representing user attributes.
- Parameters:
userAttributes
- An array of name-value pairs representing user attributes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserCreateDate
The date the user was created.
- Parameters:
userCreateDate
- The date the user was created.
-
getUserCreateDate
The date the user was created.
- Returns:
- The date the user was created.
-
withUserCreateDate
The date the user was created.
- Parameters:
userCreateDate
- The date the user was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setUserLastModifiedDate
The date the user was last modified.
- Parameters:
userLastModifiedDate
- The date the user was last modified.
-
getUserLastModifiedDate
The date the user was last modified.
- Returns:
- The date the user was last modified.
-
withUserLastModifiedDate
The date the user was last modified.
- Parameters:
userLastModifiedDate
- The date the user was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setEnabled
Indicates that the status is enabled.
- Parameters:
enabled
- Indicates that the status is enabled.
-
getEnabled
Indicates that the status is enabled.
- Returns:
- Indicates that the status is enabled.
-
withEnabled
Indicates that the status is enabled.
- Parameters:
enabled
- Indicates that the status is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
isEnabled
Indicates that the status is enabled.
- Returns:
- Indicates that the status is enabled.
-
setUserStatus
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.
- Parameters:
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.
- See Also:
-
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.
- Returns:
- 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.
- See Also:
-
withUserStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
setUserStatus
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.
- Parameters:
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.
- See Also:
-
withUserStatus
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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
getMFAOptions
Specifies the options for MFA (e.g., email or phone number).
- Returns:
- Specifies the options for MFA (e.g., email or phone number).
-
setMFAOptions
Specifies the options for MFA (e.g., email or phone number).
- Parameters:
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).
-
withMFAOptions
Specifies the options for MFA (e.g., email or phone number).
NOTE: This method appends the values to the existing list (if any). Use
setMFAOptions(java.util.Collection)
orwithMFAOptions(java.util.Collection)
if you want to override the existing values.- Parameters:
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMFAOptions
Specifies the options for MFA (e.g., email or phone number).
- Parameters:
mFAOptions
- Specifies the options for MFA (e.g., email or phone number).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-