Interface GetUserAuthFactorsResponse.Builder

    • Method Detail

      • username

        GetUserAuthFactorsResponse.Builder username​(String username)

        The username of the currently sign-in user.

        Parameters:
        username - The username of the currently sign-in user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • preferredMfaSetting

        GetUserAuthFactorsResponse.Builder preferredMfaSetting​(String preferredMfaSetting)

        The user's preferred MFA setting.

        Parameters:
        preferredMfaSetting - The user's preferred MFA setting.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMFASettingList

        GetUserAuthFactorsResponse.Builder userMFASettingList​(Collection<String> userMFASettingList)

        The MFA options that are activated for the user. The possible values in this list are SMS_MFA, EMAIL_OTP, and SOFTWARE_TOKEN_MFA.

        Parameters:
        userMFASettingList - The MFA options that are activated for the user. The possible values in this list are SMS_MFA, EMAIL_OTP, and SOFTWARE_TOKEN_MFA.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userMFASettingList

        GetUserAuthFactorsResponse.Builder userMFASettingList​(String... userMFASettingList)

        The MFA options that are activated for the user. The possible values in this list are SMS_MFA, EMAIL_OTP, and SOFTWARE_TOKEN_MFA.

        Parameters:
        userMFASettingList - The MFA options that are activated for the user. The possible values in this list are SMS_MFA, EMAIL_OTP, and SOFTWARE_TOKEN_MFA.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuredUserAuthFactorsWithStrings

        GetUserAuthFactorsResponse.Builder configuredUserAuthFactorsWithStrings​(Collection<String> configuredUserAuthFactors)

        The authentication types that are available to the user with USER_AUTH sign-in.

        Parameters:
        configuredUserAuthFactors - The authentication types that are available to the user with USER_AUTH sign-in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuredUserAuthFactorsWithStrings

        GetUserAuthFactorsResponse.Builder configuredUserAuthFactorsWithStrings​(String... configuredUserAuthFactors)

        The authentication types that are available to the user with USER_AUTH sign-in.

        Parameters:
        configuredUserAuthFactors - The authentication types that are available to the user with USER_AUTH sign-in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuredUserAuthFactors

        GetUserAuthFactorsResponse.Builder configuredUserAuthFactors​(Collection<AuthFactorType> configuredUserAuthFactors)

        The authentication types that are available to the user with USER_AUTH sign-in.

        Parameters:
        configuredUserAuthFactors - The authentication types that are available to the user with USER_AUTH sign-in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • configuredUserAuthFactors

        GetUserAuthFactorsResponse.Builder configuredUserAuthFactors​(AuthFactorType... configuredUserAuthFactors)

        The authentication types that are available to the user with USER_AUTH sign-in.

        Parameters:
        configuredUserAuthFactors - The authentication types that are available to the user with USER_AUTH sign-in.
        Returns:
        Returns a reference to this object so that method calls can be chained together.