Interface PrincipalSearchResult.Builder

  • Method Details

    • principalId

      PrincipalSearchResult.Builder principalId(String principalId)

      The unique ID of the principal.

      Parameters:
      principalId - The unique ID of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • principalType

      PrincipalSearchResult.Builder principalType(String principalType)

      Whether the principal is a user or a group.

      Parameters:
      principalType - Whether the principal is a user or a group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • principalType

      PrincipalSearchResult.Builder principalType(PrincipalType principalType)

      Whether the principal is a user or a group.

      Parameters:
      principalType - Whether the principal is a user or a group.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • displayName

      PrincipalSearchResult.Builder displayName(String displayName)

      The display name of the principal.

      Parameters:
      displayName - The display name of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • userName

      The user name of the principal. Present for users only.

      Parameters:
      userName - The user name of the principal. Present for users only.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      PrincipalSearchResult.Builder description(String description)

      An optional description of the principal.

      Parameters:
      description - An optional description of the principal.
      Returns:
      Returns a reference to this object so that method calls can be chained together.