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

# Class AddCommunityRequest.Builder

Object
Builder

Enclosing class:
  `AddCommunityRequest`

public static class AddCommunityRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddCommunityRequest`
  `build()`
  `AddCommunityRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `AddCommunityRequest.Builder`
  `description(String description)`
  The description of the new community.
  `AddCommunityRequest.Builder`
  `id(UUID id)`
  The ID of the new community.
  `AddCommunityRequest.Builder`
  `name(String name)`
  Required. The name (required) of the new community.
  `AddCommunityRequest.Builder`
  `parentId(UUID parentId)`
  The ID of the parent for the new community.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### parentId

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

  - ### name

    public AddCommunityRequest.Builder name(String name)
    Required. The name (required) of the new community. Should be unique across all communities.
    Returns:
      `this`.

  - ### description

    public AddCommunityRequest.Builder description(String description)
    The description of the new community.
    Returns:
      `this`.

  - ### id

    public AddCommunityRequest.Builder id(UUID id)
    The ID of the new community.
    Returns:
      `this`.

  - ### build

    public AddCommunityRequest build()

  - ### toString

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