Class AdminSetUserSettingsRequest

    • Constructor Detail

      • AdminSetUserSettingsRequest

        public AdminSetUserSettingsRequest()
    • Method Detail

      • setUserPoolId

        public void setUserPoolId​(String userPoolId)

        The user pool ID for the user pool where you want to set the user's settings, such as MFA options.

        Parameters:
        userPoolId - The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
      • getUserPoolId

        public String getUserPoolId()

        The user pool ID for the user pool where you want to set the user's settings, such as MFA options.

        Returns:
        The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
      • withUserPoolId

        public AdminSetUserSettingsRequest withUserPoolId​(String userPoolId)

        The user pool ID for the user pool where you want to set the user's settings, such as MFA options.

        Parameters:
        userPoolId - The user pool ID for the user pool where you want to set the user's settings, such as MFA options.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setUsername

        public void setUsername​(String username)

        The user name of the user for whom you wish to set user settings.

        Parameters:
        username - The user name of the user for whom you wish to set user settings.
      • getUsername

        public String getUsername()

        The user name of the user for whom you wish to set user settings.

        Returns:
        The user name of the user for whom you wish to set user settings.
      • withUsername

        public AdminSetUserSettingsRequest withUsername​(String username)

        The user name of the user for whom you wish to set user settings.

        Parameters:
        username - The user name of the user for whom you wish to set user settings.
        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 AdminSetUserSettingsRequest 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