Interface User.Builder

    • Method Detail

      • id

        User.Builder id​(String id)

        The ID of the user or group.

        Pattern: ^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$

        Parameters:
        id - The ID of the user or group.

        Pattern: ^([0-9a-fA-F]{10}-|)[A-Fa-f0-9]{8}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{4}-[A-Fa-f0-9]{12}$

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        User.Builder type​(String type)

        Specifies whether this is a single user or a group.

        Parameters:
        type - Specifies whether this is a single user or a group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UserType, UserType
      • type

        User.Builder type​(UserType type)

        Specifies whether this is a single user or a group.

        Parameters:
        type - Specifies whether this is a single user or a group.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        UserType, UserType