Class RelatedAssetReference.Builder
- Object
-
- Builder
-
- Enclosing class:
- RelatedAssetReference
public static final class RelatedAssetReference.Builder extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description RelatedAssetReference.Builder
assetId(UUID assetId)
The ID of the asset which the issue is related to.RelatedAssetReference
build()
RelatedAssetReference.Builder
but()
Deprecated.This method will be removed in the future.RelatedAssetReference.Builder
direction(Boolean direction)
The direction of the relation where true means the issue is the source and false means the issue is the target.RelatedAssetReference.Builder
relationTypeId(UUID relationTypeId)
The ID of relation type for related asset.String
toString()
-
-
-
Method Detail
-
but
@Deprecated public RelatedAssetReference.Builder but()
Deprecated.This method will be removed in the future. Please, useRelatedAssetReference.builder()
Clone method for this Builder.
-
assetId
public RelatedAssetReference.Builder assetId(UUID assetId)
The ID of the asset which the issue is related to.- Returns:
this
.
-
relationTypeId
public RelatedAssetReference.Builder relationTypeId(UUID relationTypeId)
The ID of relation type for related asset.- Returns:
this
.
-
direction
public RelatedAssetReference.Builder direction(Boolean direction)
The direction of the relation where true means the issue is the source and false means the issue is the target.- Returns:
this
.
-
build
public RelatedAssetReference build()
-
toString
public String toString()
- Overrides:
toString
in classObject
-
-