Package com.atlan.model.relations
Class UserDefRelationship.UserDefRelationshipBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.relations.RelationshipAttributes.RelationshipAttributesBuilder<C,B>
com.atlan.model.relations.UserDefRelationship.UserDefRelationshipBuilder<C,B>
- Enclosing class:
- UserDefRelationship
public abstract static class UserDefRelationship.UserDefRelationshipBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C,B>>
extends RelationshipAttributes.RelationshipAttributesBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
fromTypeLabel
(String fromTypeLabel) Name for the relationship when referring from endDef2 asset to endDef1 assetprotected abstract B
self()
toString()
toTypeLabel
(String toTypeLabel) Name for the relationship when referring from endDef1 asset to endDef2 assetFixed typeName for UserDefRelationships.userDefRelationshipFrom
(IAsset related) Build the UserDefRelationship relationship (with attributes) into a related object.userDefRelationshipTo
(IAsset related) Build the UserDefRelationship relationship (with attributes) into a related object.Methods inherited from class com.atlan.model.relations.RelationshipAttributes.RelationshipAttributesBuilder
clearNullFields, nullField, nullFields
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
UserDefRelationshipBuilder
public UserDefRelationshipBuilder()
-
-
Method Details
-
userDefRelationshipFrom
Build the UserDefRelationship relationship (with attributes) into a related object.- Parameters:
related
- the related asset to which to build the detailed relationship- Returns:
- a detailed Atlan relationship that conforms to the necessary interface for a related asset
- Throws:
InvalidRequestException
- if the asset provided is without a GUID or qualifiedName
-
userDefRelationshipTo
Build the UserDefRelationship relationship (with attributes) into a related object.- Parameters:
related
- the related asset to which to build the detailed relationship- Returns:
- a detailed Atlan relationship that conforms to the necessary interface for a related asset
- Throws:
InvalidRequestException
- if the asset provided is without a GUID or qualifiedName
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends UserDefRelationship,
B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
typeName
Fixed typeName for UserDefRelationships.- Overrides:
typeName
in classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,
B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>> - Returns:
this
.
-
fromTypeLabel
Name for the relationship when referring from endDef2 asset to endDef1 asset- Returns:
this
.
-
toTypeLabel
Name for the relationship when referring from endDef1 asset to endDef2 asset- Returns:
this
.
-
self
- Specified by:
self
in classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,
B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
build
- Specified by:
build
in classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,
B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
toString
- Overrides:
toString
in classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,
B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-