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

# Class ChangeCommentRequest.Builder

Object
Builder

Enclosing class:
  `ChangeCommentRequest`

public static class ChangeCommentRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ChangeCommentRequest`
  `build()`
  `ChangeCommentRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `ChangeCommentRequest.Builder`
  `content(String content)`
  The new content of the comment to be changed.
  `ChangeCommentRequest.Builder`
  `id(UUID id)`
  Required. The ID of the comment to be changed.
  `ChangeCommentRequest.Builder`
  `resolved(Boolean resolved)`
  Whether the comment is resolved.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### id

    public ChangeCommentRequest.Builder id(UUID id)
    Required. The ID of the comment to be changed.
    Returns:
      `this`.

  - ### content

    public ChangeCommentRequest.Builder content(String content)
    The new content of the comment to be changed. Can contain user mentions using syntax `[@User:$userId]` where $userId is the ID of mentioned user.
    Returns:
      `this`.

  - ### resolved

    public ChangeCommentRequest.Builder resolved(Boolean resolved)
    Whether the comment is resolved.
    Returns:
      `this`.

  - ### build

    public ChangeCommentRequest build()

  - ### toString

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