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

# Class SetAssetAttributesRequest.Builder

Object
Builder

Enclosing class:
  `SetAssetAttributesRequest`

public static final class SetAssetAttributesRequest.Builder extends Object

- ## Method Summary

  Modifier and Type
  Method
  Description
  `SetAssetAttributesRequest.Builder`
  `assetId(UUID assetId)`
  Required. The ID of the asset this attribute should belong to.
  `SetAssetAttributesRequest`
  `build()`
  `SetAssetAttributesRequest.Builder`
  `but()`
  Deprecated.
  This method will be removed in the future.
  `String`
  `toString()`
  `SetAssetAttributesRequest.Builder`
  `typeId(UUID typeId)`
  The ID of the attribute type for the new attribute.
  `SetAssetAttributesRequest.Builder`
  `typePublicId(String typePublicId)`
  The public ID of the attribute type for the new attribute.
  `SetAssetAttributesRequest.Builder`
  `values(List<Object> values)`
  Required. The values for the new attribute.

  ### Methods inherited from class Object

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

- ## Method Details

  - ### but

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

  - ### assetId

    public SetAssetAttributesRequest.Builder assetId(UUID assetId)
    Required. The ID of the asset this attribute should belong to.
    Returns:
      `this`.

  - ### typeId

    public SetAssetAttributesRequest.Builder typeId(UUID typeId)
    The ID of the attribute type for the new attribute.
    Returns:
      `this`.

  - ### typePublicId

    public SetAssetAttributesRequest.Builder typePublicId(String typePublicId)
    The public ID of the attribute type for the new attribute.
    Returns:
      `this`.

  - ### values

    public SetAssetAttributesRequest.Builder values(List<Object> values)
    Required. The values for the new attribute.
    Returns:
      `this`.

  - ### build

    public SetAssetAttributesRequest build()

  - ### toString

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