Interface ImpersonatedUser.Builder

    • Method Detail

      • username

        ImpersonatedUser.Builder username​(String username)

        Information about the username that was being impersonated.

        Parameters:
        username - Information about the username that was being impersonated.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ImpersonatedUser.Builder groups​(Collection<String> groups)

        The group to which the user name belongs.

        Parameters:
        groups - The group to which the user name belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        ImpersonatedUser.Builder groups​(String... groups)

        The group to which the user name belongs.

        Parameters:
        groups - The group to which the user name belongs.
        Returns:
        Returns a reference to this object so that method calls can be chained together.