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

# Class SetUserGroupsForUserRequest.Builder

Object
Builder

Enclosing class:
  `SetUserGroupsForUserRequest`

public static final class SetUserGroupsForUserRequest.Builder extends Object

- ## Method Summary

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

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### userId

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

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

    Returns:
      `this`.

  - ### userGroupIds

    public SetUserGroupsForUserRequest.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 SetUserGroupsForUserRequest build()

  - ### toString

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