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

# Class RelationTypeIdWithDirection.Builder

Object
Builder

Enclosing class:
  `RelationTypeIdWithDirection`

public static class RelationTypeIdWithDirection.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `RelationTypeIdWithDirection`
  `build()`
  `RelationTypeIdWithDirection.Builder`
  `direction(RelationTypeIdWithDirection.Direction direction)`
  Required. The direction of the relation.
  `RelationTypeIdWithDirection.Builder`
  `relationTypeId(UUID relationTypeId)`
  Deprecated.
  use `relationTypePublicId` instead.
  `RelationTypeIdWithDirection.Builder`
  `relationTypePublicId(String relationTypePublicId)`
  The public ID of the relation type.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### relationTypeId

    @Deprecated public RelationTypeIdWithDirection.Builder relationTypeId(UUID relationTypeId)
    Deprecated.
    use `relationTypePublicId` instead.
    Required. The ID of the relation type.
    Returns:
      `this`.

  - ### relationTypePublicId

    public RelationTypeIdWithDirection.Builder relationTypePublicId(String relationTypePublicId)
    The public ID of the relation type.
    Returns:
      `this`.

  - ### direction

    public RelationTypeIdWithDirection.Builder direction(RelationTypeIdWithDirection.Direction direction)
    Required. The direction of the relation.
    Returns:
      `this`.

  - ### build

    public RelationTypeIdWithDirection build()

  - ### toString

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