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

# Class AddUsersToUserGroupRequest.Builder

Object
Builder

Enclosing class:
  `AddUsersToUserGroupRequest`

public static final class AddUsersToUserGroupRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddUsersToUserGroupRequest`
  `build()`
  `AddUsersToUserGroupRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `String`
  `toString()`
  `AddUsersToUserGroupRequest.Builder`
  `userGroupId(UUID userGroupId)`
  Required. The ID of the user group the users should be added to.
  `AddUsersToUserGroupRequest.Builder`
  `userIds(List<UUID> userIds)`
  Required. The list of IDs of the users that should be added to the user group.

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### userGroupId

    public AddUsersToUserGroupRequest.Builder userGroupId(UUID userGroupId)
    Required. The ID of the user group the users should be added to. Silently ignored if the ID is provided as path parameter of the request
    Returns:
      `this`.

  - ### userIds

    public AddUsersToUserGroupRequest.Builder userIds(List<UUID> userIds)
    Required. The list of IDs of the users that should be added to the user group.
    Returns:
      `this`.

  - ### build

    public AddUsersToUserGroupRequest build()

  - ### toString

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