Package com.atlan.model.typedefs
Class RelationshipEndDef.RelationshipEndDefBuilder<C extends RelationshipEndDef,B extends RelationshipEndDef.RelationshipEndDefBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.typedefs.AttributeDef.AttributeDefBuilder<C,B>
com.atlan.model.typedefs.RelationshipEndDef.RelationshipEndDefBuilder<C,B>
- Enclosing class:
- RelationshipEndDef
public abstract static class RelationshipEndDef.RelationshipEndDefBuilder<C extends RelationshipEndDef,B extends RelationshipEndDef.RelationshipEndDefBuilder<C,B>>
extends AttributeDef.AttributeDefBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) abstract C
build()
cardinality
(AtlanCustomAttributeCardinality cardinality) Cardinality of this end of the relationship.description
(String description) Description of the relationship from this end of it.isContainer
(Boolean isContainer) Whether this end of the relationship is a container ("owns" the other end's assets).isLegacyAttribute
(Boolean isLegacyAttribute) TBCName of the attribute that represents this end of the relationship.protected abstract B
self()
toString()
Name of the type definition (entity type) for the other end of the relationship.Methods inherited from class com.atlan.model.typedefs.AttributeDef.AttributeDefBuilder
archive, autoUpdateAttributes, clearEnumValues, constraints, defaultValue, displayName, enumValue, enumValues, includeInNotification, indexType, indexTypeESConfig, indexTypeESFields, isDefaultValueNull, isIndexable, isNew, isOptional, isUnique, options, searchWeight, skipScrubbing, typeName, valuesMaxCount, valuesMinCount
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
RelationshipEndDefBuilder
public RelationshipEndDefBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>>
-
name
Name of the attribute that represents this end of the relationship.- Overrides:
name
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>> - Returns:
this
.
-
description
Description of the relationship from this end of it.- Overrides:
description
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>> - Returns:
this
.
-
type
Name of the type definition (entity type) for the other end of the relationship.- Returns:
this
.
-
isContainer
Whether this end of the relationship is a container ("owns" the other end's assets).- Returns:
this
.
-
isLegacyAttribute
TBC- Returns:
this
.
-
cardinality
Cardinality of this end of the relationship.- Overrides:
cardinality
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>> - Returns:
this
.
-
self
- Specified by:
self
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>>
-
build
- Specified by:
build
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>>
-
toString
- Overrides:
toString
in classAttributeDef.AttributeDefBuilder<C extends RelationshipEndDef,
B extends RelationshipEndDef.RelationshipEndDefBuilder<C, B>>
-