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

# Class ChangeRatingRequest.Builder

Object
Builder

Enclosing class:
  `ChangeRatingRequest`

public static class ChangeRatingRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `ChangeRatingRequest`
  `build()`
  `ChangeRatingRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `ChangeRatingRequest.Builder`
  `id(UUID id)`
  Required. The ID of the rating.
  `ChangeRatingRequest.Builder`
  `rating(Double rating)`
  Required. The new rating value.
  `ChangeRatingRequest.Builder`
  `review(String review)`
  The new review value.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### id

    public ChangeRatingRequest.Builder id(UUID id)
    Required. The ID of the rating.
    Returns:
      `this`.

  - ### rating

    public ChangeRatingRequest.Builder rating(Double rating)
    Required. The new rating value. Allowed values are {0.2, 0.4, 0.6, 0.8, 1.0} (e.g., 0.2 for 1 star, 1.0 for 5 stars).
    Returns:
      `this`.

  - ### review

    public ChangeRatingRequest.Builder review(String review)
    The new review value.
    Returns:
      `this`.

  - ### build

    public ChangeRatingRequest build()

  - ### toString

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