Package com.collibra.dgc.core.api.dto.instance.community

# Class ChangeCommunityRequest.Builder

Object
Builder

Enclosing class:
  `ChangeCommunityRequest`

public static final class ChangeCommunityRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ChangeCommunityRequest`
  `build()`
  `ChangeCommunityRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `ChangeCommunityRequest.Builder`
  `description(String description)`
  The new description for the community.
  `ChangeCommunityRequest.Builder`
  `id(UUID id)`
  Required. The ID of the community to be changed.
  `ChangeCommunityRequest.Builder`
  `name(String name)`
  The new name for the community.
  `ChangeCommunityRequest.Builder`
  `parentId(UUID parentId)`
  The ID of the new parent community for the community.
  `ChangeCommunityRequest.Builder`
  `removeScopeOverlapOnMove(Boolean removeScopeOverlapOnMove)`
  Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### id

    public ChangeCommunityRequest.Builder id(UUID id)
    Required. The ID of the community to be changed. Silently ignored if the ID is provided as path parameter of the request.
    Returns:
      `this`.

  - ### parentId

    public ChangeCommunityRequest.Builder parentId(UUID parentId)
    The ID of the new parent community for the community.
    Returns:
      `this`.

  - ### name

    public ChangeCommunityRequest.Builder name(String name)
    The new name for the community.
    Returns:
      `this`.

  - ### description

    public ChangeCommunityRequest.Builder description(String description)
    The new description for the community.
    Returns:
      `this`.

  - ### removeScopeOverlapOnMove

    public ChangeCommunityRequest.Builder removeScopeOverlapOnMove(Boolean removeScopeOverlapOnMove)
    Whether scopes assigned to community and its children should be removed on move if there are any inherited scopes in new parent community.
    Returns:
      `this`.

  - ### build

    public ChangeCommunityRequest build()

  - ### toString

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