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

# Class RelatedAssetReference.Builder

Object
Builder

Enclosing class:
  `RelatedAssetReference`

public static final class RelatedAssetReference.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RelatedAssetReference.Builder`
  `assetId(UUID assetId)`
  The ID of the asset which the issue is related to.
  `RelatedAssetReference`
  `build()`
  `RelatedAssetReference.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `RelatedAssetReference.Builder`
  `direction(Boolean direction)`
  The direction of the relation where true means the issue is the source and false means the issue is the target.
  `RelatedAssetReference.Builder`
  `relationTypeId(UUID relationTypeId)`
  The ID of relation type for related asset.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### assetId

    public RelatedAssetReference.Builder assetId(UUID assetId)
    The ID of the asset which the issue is related to.
    Returns:
      `this`.

  - ### relationTypeId

    public RelatedAssetReference.Builder relationTypeId(UUID relationTypeId)
    The ID of relation type for related asset.
    Returns:
      `this`.

  - ### direction

    public RelatedAssetReference.Builder direction(Boolean direction)
    The direction of the relation where true means the issue is the source and false means the issue is the target.
    Returns:
      `this`.

  - ### build

    public RelatedAssetReference build()

  - ### toString

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