Interface AdminSetUserSettingsRequest.Builder

    • Method Detail

      • userPoolId

        AdminSetUserSettingsRequest.Builder userPoolId​(String userPoolId)

        The ID of the user pool that contains the user whose options you're setting.

        Parameters:
        userPoolId - The ID of the user pool that contains the user whose options you're setting.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • username

        AdminSetUserSettingsRequest.Builder username​(String username)

        The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.

        Parameters:
        username - The username of the user that you want to query or modify. The value of this parameter is typically your user's username, but it can be any of their alias attributes. If username isn't an alias attribute in your user pool, you can also use their sub in this request.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mfaOptions

        AdminSetUserSettingsRequest.Builder mfaOptions​(Collection<MFAOptionType> mfaOptions)

        You can use this parameter only to set an SMS configuration that uses SMS for delivery.

        Parameters:
        mfaOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • mfaOptions

        AdminSetUserSettingsRequest.Builder mfaOptions​(MFAOptionType... mfaOptions)

        You can use this parameter only to set an SMS configuration that uses SMS for delivery.

        Parameters:
        mfaOptions - You can use this parameter only to set an SMS configuration that uses SMS for delivery.
        Returns:
        Returns a reference to this object so that method calls can be chained together.