Interface KubernetesUserDetails.Builder

    • Method Detail

      • username

        KubernetesUserDetails.Builder username​(String username)

        The username of the user who called the Kubernetes API.

        Parameters:
        username - The username of the user who called the Kubernetes API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • uid

        KubernetesUserDetails.Builder uid​(String uid)

        The user ID of the user who called the Kubernetes API.

        Parameters:
        uid - The user ID of the user who called the Kubernetes API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

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

        The groups that include the user who called the Kubernetes API.

        Parameters:
        groups - The groups that include the user who called the Kubernetes API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • groups

        KubernetesUserDetails.Builder groups​(String... groups)

        The groups that include the user who called the Kubernetes API.

        Parameters:
        groups - The groups that include the user who called the Kubernetes API.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionName

        KubernetesUserDetails.Builder sessionName​(Collection<String> sessionName)

        Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.

        Parameters:
        sessionName - Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sessionName

        KubernetesUserDetails.Builder sessionName​(String... sessionName)

        Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.

        Parameters:
        sessionName - Entity that assumes the IAM role when Kubernetes RBAC permissions are assigned to that role.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • impersonatedUser

        KubernetesUserDetails.Builder impersonatedUser​(ImpersonatedUser impersonatedUser)

        Information about the impersonated user.

        Parameters:
        impersonatedUser - Information about the impersonated user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.