Class SetAssetRelationsRequest.Builder
Object
Builder
- Enclosing class:
SetAssetRelationsRequest
-
Method Summary
Modifier and TypeMethodDescriptionRequired. The ID of the asset.build()but()Deprecated.This method will be removed in the future.relatedAssetIds(List<UUID> relatedAssetIds) Required. The IDs of the related assets.relationDirection(SetAssetRelationsRequest.RelationDirection relationDirection) The relation direction.toString()Required. The ID of the relation type for the relations to be set.typePublicId(String typePublicId) The public ID of the relation type for the relations to be set.
-
Method Details
-
but
Deprecated.This method will be removed in the future. Please, useSetAssetRelationsRequest.builder()Clone method for this Builder. -
assetId
Required. The ID of the asset.- Returns:
this.
-
typeId
Required. The ID of the relation type for the relations to be set.- Returns:
this.
-
relationDirection
public SetAssetRelationsRequest.Builder relationDirection(SetAssetRelationsRequest.RelationDirection relationDirection) The relation direction. If TO_SOURCE then related assets will become source assets. Otherwise they will become target assets for created relations.- Returns:
this.
-
typePublicId
The public ID of the relation type for the relations to be set.- Returns:
this.
-
build
-
toString
-