Package com.atlan.model.typedefs
Class AttributeDefOptions.AttributeDefOptionsBuilder<C extends AttributeDefOptions,B extends AttributeDefOptions.AttributeDefOptionsBuilder<C,B>>
java.lang.Object
com.atlan.model.core.AtlanObject.AtlanObjectBuilder<C,B>
com.atlan.model.typedefs.AttributeDefOptions.AttributeDefOptionsBuilder<C,B>
- Enclosing class:
- AttributeDefOptions
public abstract static class AttributeDefOptions.AttributeDefOptionsBuilder<C extends AttributeDefOptions,B extends AttributeDefOptions.AttributeDefOptionsBuilder<C,B>>
extends AtlanObject.AtlanObjectBuilder<C,B>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected B
$fillValuesFrom
(C instance) allowFiltering
(Boolean allowFiltering) Whether this attribute should appear in the filterable facets of discovery (true) or not (false).allowSearch
(Boolean allowSearch) Whether the attribute should be searchable (true) or not (false).applicableAssetType
(String applicableAssetType) applicableAssetTypes
(Collection<? extends String> applicableAssetTypes) applicableConnection
(String applicableConnection) applicableConnections
(Collection<? extends String> applicableConnections) applicableDomain
(String applicableDomain) applicableDomains
(Collection<? extends String> applicableDomains) applicableDomainType
(String applicableDomainType) applicableDomainTypes
(Collection<? extends String> applicableDomainTypes) applicableEntityTypes
(Set<String> applicableEntityTypes) Set of entities on which this attribute can be applied.applicableGlossaries
(Collection<? extends String> applicableGlossaries) applicableGlossary
(String applicableGlossary) applicableGlossaryType
(String applicableGlossaryType) applicableGlossaryTypes
(Collection<? extends String> applicableGlossaryTypes) applicableOtherAssetType
(String applicableOtherAssetType) applicableOtherAssetTypes
(Collection<? extends String> applicableOtherAssetTypes) archivedAt
(Long archivedAt) When the attribute was deleted.archivedBy
(String archivedBy) User who deleted the attribute.abstract C
build()
customApplicableEntityTypes
(Set<String> customApplicableEntityTypes) Deprecated.customMetadataVersion
(String customMetadataVersion) Indicates the version of the custom metadata structure.customType
(String customType) Used for Atlan-specific types likeusers
,groups
,url
, andSQL
.description
(String description) Optional description of the attribute.Name of the enumeration (options), when the attribute is an enumeration.hasTimePrecision
(Boolean hasTimePrecision) If true for a date attribute, then time-level precision is also available in the UI (otherwise only date-level)isAppendOnPartialUpdate
(String isAppendOnPartialUpdate) TBCisArchived
(Boolean isArchived) Whether the attribute has been deleted (true) or is still active (false).isDeprecated
(String isDeprecated) Whether the attribute is deprecated ("true") or not (null or "false").Whether the attribute is an enumeration (true) or not (false).isSoftReference
(String isSoftReference) TBCmaxStrLength
(String maxStrLength) Maximum length allowed for a string value.multiValueSelect
(Boolean multiValueSelect) Whether this attribute can have multiple values (true) or only a single value (false).primitiveType
(AtlanCustomAttributePrimitiveType primitiveType) Primitive type of the attribute.protected abstract B
self()
showInOverview
(Boolean showInOverview) Whether users will see this attribute in the overview tab of the sidebar (true) or not (false).toString()
Methods inherited from class com.atlan.model.core.AtlanObject.AtlanObjectBuilder
rawJsonObject
-
Constructor Details
-
AttributeDefOptionsBuilder
public AttributeDefOptionsBuilder()
-
-
Method Details
-
$fillValuesFrom
- Overrides:
$fillValuesFrom
in classAtlanObject.AtlanObjectBuilder<C extends AttributeDefOptions,
B extends AttributeDefOptions.AttributeDefOptionsBuilder<C, B>>
-
customMetadataVersion
Indicates the version of the custom metadata structure. This determines which other options are available and used.- Returns:
this
.
-
description
Optional description of the attribute.- Returns:
this
.
-
applicableEntityTypes
Set of entities on which this attribute can be applied. Note: generally this should be left as-is. Any overrides should instead be applied through one or more ofapplicableAssetTypes
,applicableGlossaryTypes
, orapplicableOtherAssetTypes
.- Returns:
this
.
-
customApplicableEntityTypes
Deprecated.seeapplicableAssetTypes
,applicableGlossaryTypes
,applicableOtherAssetTypes
insteadSet of entities on which this attribute should appear. Note: this is only used when customMetadataVersion is less than v2.- Returns:
this
.
-
applicableConnection
-
applicableConnections
-
clearApplicableConnections
-
applicableGlossary
-
applicableGlossaries
-
clearApplicableGlossaries
-
applicableDomain
-
applicableDomains
-
clearApplicableDomains
-
applicableAssetType
-
applicableAssetTypes
-
clearApplicableAssetTypes
-
applicableGlossaryType
-
applicableGlossaryTypes
-
clearApplicableGlossaryTypes
-
applicableDomainType
-
applicableDomainTypes
-
clearApplicableDomainTypes
-
applicableOtherAssetType
-
applicableOtherAssetTypes
-
clearApplicableOtherAssetTypes
-
allowSearch
Whether the attribute should be searchable (true) or not (false).- Returns:
this
.
-
maxStrLength
Maximum length allowed for a string value.- Returns:
this
.
-
allowFiltering
Whether this attribute should appear in the filterable facets of discovery (true) or not (false).- Returns:
this
.
-
multiValueSelect
Whether this attribute can have multiple values (true) or only a single value (false).- Returns:
this
.
-
showInOverview
Whether users will see this attribute in the overview tab of the sidebar (true) or not (false).- Returns:
this
.
-
isDeprecated
Whether the attribute is deprecated ("true") or not (null or "false").- Returns:
this
.
-
primitiveType
Primitive type of the attribute.- Returns:
this
.
-
isEnum
Whether the attribute is an enumeration (true) or not (false).- Returns:
this
.
-
enumType
Name of the enumeration (options), when the attribute is an enumeration.- Returns:
this
.
-
customType
Used for Atlan-specific types likeusers
,groups
,url
, andSQL
.- Returns:
this
.
-
hasTimePrecision
If true for a date attribute, then time-level precision is also available in the UI (otherwise only date-level)- Returns:
this
.
-
isArchived
Whether the attribute has been deleted (true) or is still active (false).- Returns:
this
.
-
archivedAt
When the attribute was deleted.- Returns:
this
.
-
archivedBy
User who deleted the attribute.- Returns:
this
.
-
isSoftReference
TBC- Returns:
this
.
-
isAppendOnPartialUpdate
TBC- Returns:
this
.
-
self
- Specified by:
self
in classAtlanObject.AtlanObjectBuilder<C extends AttributeDefOptions,
B extends AttributeDefOptions.AttributeDefOptionsBuilder<C, B>>
-
build
- Specified by:
build
in classAtlanObject.AtlanObjectBuilder<C extends AttributeDefOptions,
B extends AttributeDefOptions.AttributeDefOptionsBuilder<C, B>>
-
toString
- Overrides:
toString
in classAtlanObject.AtlanObjectBuilder<C extends AttributeDefOptions,
B extends AttributeDefOptions.AttributeDefOptionsBuilder<C, B>>
-
applicableAssetTypes
,applicableGlossaryTypes
,applicableOtherAssetTypes
instead