Class GetUserResult

    • Constructor Detail

      • GetUserResult

        public GetUserResult()
    • Method Detail

      • setUsername

        public void setUsername​(String username)

        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

        public String 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

        public GetUserResult withUsername​(String username)

        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

        public List<AttributeType> getUserAttributes()

        An array of name-value pairs representing user attributes.

        Returns:
        An array of name-value pairs representing user attributes.
      • setUserAttributes

        public void setUserAttributes​(Collection<AttributeType> userAttributes)

        An array of name-value pairs representing user attributes.

        Parameters:
        userAttributes - An array of name-value pairs representing user attributes.
      • withUserAttributes

        public GetUserResult withUserAttributes​(AttributeType... userAttributes)

        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) or withUserAttributes(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

        public GetUserResult withUserAttributes​(Collection<AttributeType> userAttributes)

        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

        public List<MFAOptionType> 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

        public void setMFAOptions​(Collection<MFAOptionType> mFAOptions)

        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

        public GetUserResult withMFAOptions​(MFAOptionType... mFAOptions)

        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) or withMFAOptions(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

        public GetUserResult withMFAOptions​(Collection<MFAOptionType> mFAOptions)

        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

        public String toString()
        Returns a string representation of this object; useful for testing and debugging.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object