Interface GetUserResponse.Builder

  • Method Details

    • userId

      The unique identifier of the user.

      Parameters:
      userId - The unique identifier of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • firstName

      GetUserResponse.Builder firstName(String firstName)

      The first name of the user.

      Parameters:
      firstName - The first name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastName

      GetUserResponse.Builder lastName(String lastName)

      The last name of the user.

      Parameters:
      lastName - The last name of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • username

      GetUserResponse.Builder username(String username)

      The email address or username of the user.

      Parameters:
      username - The email address or username of the user.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • isAdmin

      GetUserResponse.Builder isAdmin(Boolean isAdmin)

      Indicates whether the user has administrator privileges in the network.

      Parameters:
      isAdmin - Indicates whether the user has administrator privileges in the network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • suspended

      GetUserResponse.Builder suspended(Boolean suspended)

      Indicates whether the user is currently suspended.

      Parameters:
      suspended - Indicates whether the user is currently suspended.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • status

      The current status of the user (1 for pending, 2 for active).

      Parameters:
      status - The current status of the user (1 for pending, 2 for active).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastActivity

      GetUserResponse.Builder lastActivity(Integer lastActivity)

      The timestamp of the user's last activity in the network, specified in epoch seconds.

      Parameters:
      lastActivity - The timestamp of the user's last activity in the network, specified in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastLogin

      GetUserResponse.Builder lastLogin(Integer lastLogin)

      The timestamp of the user's last login to the network, specified in epoch seconds.

      Parameters:
      lastLogin - The timestamp of the user's last login to the network, specified in epoch seconds.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      GetUserResponse.Builder securityGroupIds(Collection<String> securityGroupIds)

      A list of security group IDs to which the user belongs.

      Parameters:
      securityGroupIds - A list of security group IDs to which the user belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • securityGroupIds

      GetUserResponse.Builder securityGroupIds(String... securityGroupIds)

      A list of security group IDs to which the user belongs.

      Parameters:
      securityGroupIds - A list of security group IDs to which the user belongs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.