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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B$fillValuesFrom(C instance) abstract Cbuild()Name for the relationship when referring from endDef2 asset to endDef1 assetprotected abstract Bself()toString()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, nullFieldsMethods 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:
$fillValuesFromin classAtlanObject.AtlanObjectBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
typeName
Fixed typeName for UserDefRelationships.- Overrides:
typeNamein classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>> - Returns:
this.
-
fromType
Name for the relationship when referring from endDef2 asset to endDef1 asset- Returns:
this.
-
toType
Name for the relationship when referring from endDef1 asset to endDef2 asset- Returns:
this.
-
self
- Specified by:
selfin classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
build
- Specified by:
buildin classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-
toString
- Overrides:
toStringin classRelationshipAttributes.RelationshipAttributesBuilder<C extends UserDefRelationship,B extends UserDefRelationship.UserDefRelationshipBuilder<C, B>>
-