Package com.atlan.model.relations
Class GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<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.GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C,B>
- Enclosing class:
GlossaryPreferredTerm
public abstract static class GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C,B>>
extends RelationshipAttributes.RelationshipAttributesBuilder<C,B>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected B$fillValuesFrom(C instance) abstract Cbuild()description(String description) Details about the relationship.expression(String expression) Expression used to set the relationship.preferredTerm(IGlossaryTerm related, Reference.SaveSemantic semantic) Build the GlossaryPreferredTerm relationship (with attributes) into a related object.preferredToTerm(IGlossaryTerm related, Reference.SaveSemantic semantic) Build the GlossaryPreferredTerm relationship (with attributes) into a related object.protected abstract Bself()Source of the relationship.Status of the relationship.User responsible for assessing the relationship and deciding if it should be approved or not.toString()Fixed typeName for GlossaryPreferredTerms.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
-
GlossaryPreferredTermBuilder
public GlossaryPreferredTermBuilder()
-
-
Method Details
-
preferredToTerm
public IGlossaryTerm preferredToTerm(IGlossaryTerm related, Reference.SaveSemantic semantic) throws InvalidRequestException Build the GlossaryPreferredTerm relationship (with attributes) into a related object.- Parameters:
related- the related asset to which to build the detailed relationshipsemantic- to use for saving the 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
-
preferredTerm
public IGlossaryTerm preferredTerm(IGlossaryTerm related, Reference.SaveSemantic semantic) throws InvalidRequestException Build the GlossaryPreferredTerm relationship (with attributes) into a related object.- Parameters:
related- the related asset to which to build the detailed relationshipsemantic- to use for saving the 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 GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C, B>>
-
typeName
Fixed typeName for GlossaryPreferredTerms.- Overrides:
typeNamein classRelationshipAttributes.RelationshipAttributesBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C, B>> - Returns:
this.
-
description
Details about the relationship.- Returns:
this.
-
expression
Expression used to set the relationship.- Returns:
this.
-
source
Source of the relationship.- Returns:
this.
-
status
Status of the relationship.- Returns:
this.
-
steward
User responsible for assessing the relationship and deciding if it should be approved or not.- Returns:
this.
-
self
- Specified by:
selfin classRelationshipAttributes.RelationshipAttributesBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C, B>>
-
build
- Specified by:
buildin classRelationshipAttributes.RelationshipAttributesBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C, B>>
-
toString
- Overrides:
toStringin classRelationshipAttributes.RelationshipAttributesBuilder<C extends GlossaryPreferredTerm,B extends GlossaryPreferredTerm.GlossaryPreferredTermBuilder<C, B>>
-