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

# Class SetAssetResponsibilitiesRequest.Builder

Object
Builder

Enclosing class:
  `SetAssetResponsibilitiesRequest`

public static final class SetAssetResponsibilitiesRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SetAssetResponsibilitiesRequest.Builder`
  `assetId(UUID assetId)`
  Required. The ID of the asset.
  `SetAssetResponsibilitiesRequest`
  `build()`
  `SetAssetResponsibilitiesRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `SetAssetResponsibilitiesRequest.Builder`
  `ownerIds(List<UUID> ownerIds)`
  Required. The IDs of the owners.
  `SetAssetResponsibilitiesRequest.Builder`
  `roleId(UUID roleId)`
  Required. The ID of the role for the responsibilities to be set.
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### assetId

    public SetAssetResponsibilitiesRequest.Builder assetId(UUID assetId)
    Required. The ID of the asset.
    Returns:
      `this`.

  - ### roleId

    public SetAssetResponsibilitiesRequest.Builder roleId(UUID roleId)
    Required. The ID of the role for the responsibilities to be set.
    Returns:
      `this`.

  - ### ownerIds

    public SetAssetResponsibilitiesRequest.Builder ownerIds(List<UUID> ownerIds)
    Required. The IDs of the owners. An owner is either user or group.
    Returns:
      `this`.

  - ### build

    public SetAssetResponsibilitiesRequest build()

  - ### toString

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