Class GetUserResult
- All Implemented Interfaces:
Serializable
,Cloneable
Represents the response from the server from the request to get information about the user.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
Specifies the options for MFA (e.g., email or phone number).An array of name-value pairs representing user attributes.The user name of the user you wish to retrieve from the get user request.int
hashCode()
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
setUsername
(String username) The user name of the user you wish to retrieve from the get user request.toString()
Returns a string representation of this object; useful for testing and debugging.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.withUsername
(String username) The user name of the user you wish to retrieve from the get user request.
-
Constructor Details
-
GetUserResult
public GetUserResult()
-
-
Method Details
-
setUsername
The user name of the user you wish to retrieve from the get user request.
- Parameters:
username
- The user name of the user you wish to retrieve from the get user request.
-
getUsername
The user name of the user you wish to retrieve from the get user request.
- Returns:
- The user name of the user you wish to retrieve from the get user request.
-
withUsername
The user name of the user you wish to retrieve from the get user request.
- Parameters:
username
- The user name of the user you wish to retrieve from the get user request.- 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.
-
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
-