Package com.collibra.dgc.core.api.dto.user

# Class AddUserToUserGroupsRequest.Builder

Object
Builder

Enclosing class:
  `AddUserToUserGroupsRequest`

public static final class AddUserToUserGroupsRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddUserToUserGroupsRequest`
  `build()`
  `AddUserToUserGroupsRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `String`
  `toString()`
  `AddUserToUserGroupsRequest.Builder`
  `userGroupIds(List<UUID> userGroupIds)`
  Required. The list of IDs of the user groups which the user should be assigned to.
  `AddUserToUserGroupsRequest.Builder`
  `userId(UUID userId)`
  Required. The ID of the user who should be assigned to user groups.

  ### Methods inherited from class Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Method Details

  - ### but

    @Deprecated public AddUserToUserGroupsRequest.Builder but()
    Deprecated.
    This method will be removed in the future. Please, use `AddUserToUserGroupsRequest.builder()`
    Clone method for this Builder.

  - ### userId

    public AddUserToUserGroupsRequest.Builder userId(UUID userId)
    Required. The ID of the user who should be assigned to user groups.

    Silently ignored if the ID is provided as path parameter of the request.

    Returns:
      `this`.

  - ### userGroupIds

    public AddUserToUserGroupsRequest.Builder userGroupIds(List<UUID> userGroupIds)
    Required. The list of IDs of the user groups which the user should be assigned to.
    Returns:
      `this`.

  - ### build

    public AddUserToUserGroupsRequest build()

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Object`