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

# Class AddResponsibilityRequest.Builder

Object
Builder

Enclosing class:
  `AddResponsibilityRequest`

public static class AddResponsibilityRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `AddResponsibilityRequest`
  `build()`
  `AddResponsibilityRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `AddResponsibilityRequest.Builder`
  `ownerId(UUID ownerId)`
  `AddResponsibilityRequest.Builder`
  `resourceDiscriminator(String resourceDiscriminator)`
  `AddResponsibilityRequest.Builder`
  `resourceId(UUID resourceId)`
  `AddResponsibilityRequest.Builder`
  `resourceType(ResourceType resourceType)`
  `AddResponsibilityRequest.Builder`
  `roleId(UUID roleId)`
  `String`
  `toString()`

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### roleId

    public AddResponsibilityRequest.Builder roleId(UUID roleId)
    Returns:
      `this`.

  - ### ownerId

    public AddResponsibilityRequest.Builder ownerId(UUID ownerId)
    Returns:
      `this`.

  - ### resourceId

    public AddResponsibilityRequest.Builder resourceId(UUID resourceId)
    Returns:
      `this`.

  - ### resourceDiscriminator

    public AddResponsibilityRequest.Builder resourceDiscriminator(String resourceDiscriminator)
    Returns:
      `this`.

  - ### resourceType

    public AddResponsibilityRequest.Builder resourceType(ResourceType resourceType)
    Returns:
      `this`.

  - ### build

    public AddResponsibilityRequest build()

  - ### toString

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