Package com.atlan.model.assets
Class Asset
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.relations.Reference
com.atlan.model.assets.Asset
- All Implemented Interfaces:
IAsset
,IReferenceable
,AuditDetail
,Serializable
,Comparable<Reference>
- Direct Known Subclasses:
AdfActivity
,AdfDataflow
,AdfDataset
,AdfLinkedservice
,AdfPipeline
,ADLSAccount
,ADLSContainer
,ADLSObject
,AirflowDag
,AirflowTask
,AnomaloCheck
,APIField
,APIObject
,APIPath
,APIQuery
,APISpec
,ApplicationContainer
,AtlanCollection
,AtlanQuery
,AuthPolicy
,AuthService
,AzureEventHub
,AzureEventHubConsumerGroup
,AzureServiceBusNamespace
,AzureServiceBusTopic
,Badge
,BIProcess
,BusinessPolicy
,BusinessPolicyException
,BusinessPolicyIncident
,BusinessPolicyLog
,CalculationView
,Cognite3DModel
,CogniteAsset
,CogniteEvent
,CogniteFile
,CogniteSequence
,CogniteTimeSeries
,CognosDashboard
,CognosDatasource
,CognosExploration
,CognosFile
,CognosFolder
,CognosModule
,CognosPackage
,CognosReport
,Column
,ColumnProcess
,Connection
,CosmosMongoDBAccount
,CosmosMongoDBCollection
,CosmosMongoDBDatabase
,Cube
,CubeDimension
,CubeField
,CubeHierarchy
,Database
,DatabricksUnityCatalogTag
,DataContract
,DataDomain
,DataProduct
,DataStudioAsset
,DbtColumnProcess
,DbtMetric
,DbtModel
,DbtModelColumn
,DbtProcess
,DbtSource
,DbtTag
,DbtTest
,DomoCard
,DomoDashboard
,DomoDataset
,DomoDatasetColumn
,DynamoDBGlobalSecondaryIndex
,DynamoDBLocalSecondaryIndex
,DynamoDBTable
,File
,FivetranConnector
,Folder
,Function
,GCSBucket
,GCSObject
,Glossary
,GlossaryCategory
,GlossaryTerm
,IndistinctAsset
,Insight
,KafkaConsumerGroup
,KafkaTopic
,LineageProcess
,Link
,LookerDashboard
,LookerExplore
,LookerField
,LookerFolder
,LookerLook
,LookerModel
,LookerProject
,LookerQuery
,LookerTile
,LookerView
,MaterializedView
,MatillionComponent
,MatillionGroup
,MatillionJob
,MatillionProject
,MCIncident
,MCMonitor
,MetabaseCollection
,MetabaseDashboard
,MetabaseQuestion
,MicroStrategyAttribute
,MicroStrategyCube
,MicroStrategyDocument
,MicroStrategyDossier
,MicroStrategyFact
,MicroStrategyMetric
,MicroStrategyProject
,MicroStrategyReport
,MicroStrategyVisualization
,ModeChart
,ModeCollection
,ModelAttribute
,ModelAttributeAssociation
,ModelDataModel
,ModelEntity
,ModelEntityAssociation
,ModelVersion
,ModeQuery
,ModeReport
,ModeWorkspace
,MongoDBCollection
,MongoDBDatabase
,Persona
,PowerBIColumn
,PowerBIDashboard
,PowerBIDataflow
,PowerBIDataset
,PowerBIDatasource
,PowerBIMeasure
,PowerBIPage
,PowerBIReport
,PowerBITable
,PowerBITile
,PowerBIWorkspace
,PresetChart
,PresetDashboard
,PresetDataset
,PresetWorkspace
,Procedure
,Purpose
,QlikApp
,QlikChart
,QlikDataset
,QlikSheet
,QlikSpace
,QlikStream
,QuickSightAnalysis
,QuickSightAnalysisVisual
,QuickSightDashboard
,QuickSightDashboardVisual
,QuickSightDataset
,QuickSightDatasetField
,QuickSightFolder
,Readme
,ReadmeTemplate
,RedashDashboard
,RedashQuery
,RedashVisualization
,S3Bucket
,S3Object
,SalesforceDashboard
,SalesforceField
,SalesforceObject
,SalesforceOrganization
,SalesforceReport
,Schema
,SchemaRegistrySubject
,SigmaDataElement
,SigmaDataElementField
,SigmaDataset
,SigmaDatasetColumn
,SigmaPage
,SigmaWorkbook
,SisenseDashboard
,SisenseDatamodel
,SisenseDatamodelTable
,SisenseFolder
,SisenseWidget
,SnowflakeDynamicTable
,SnowflakePipe
,SnowflakeStream
,SnowflakeTag
,SodaCheck
,SparkJob
,Stakeholder
,StakeholderTitle
,SupersetChart
,SupersetDashboard
,SupersetDataset
,Table
,TableauCalculatedField
,TableauDashboard
,TableauDatasource
,TableauDatasourceField
,TableauFlow
,TableauMetric
,TableauProject
,TableauSite
,TableauWorkbook
,TableauWorksheet
,TablePartition
,TagAttachment
,Task
,ThoughtspotAnswer
,ThoughtspotColumn
,ThoughtspotDashlet
,ThoughtspotLiveboard
,ThoughtspotTable
,ThoughtspotView
,ThoughtspotWorksheet
,UserDefRelationship.UserDefRelationshipFrom
,UserDefRelationship.UserDefRelationshipTo
,View
,Workflow
,WorkflowRun
@Generated("com.atlan.generators.ModelGeneratorV2")
public abstract class Asset
extends Reference
implements IAsset, IReferenceable
Base class for all assets.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Asset.AssetBuilder<C extends Asset,
B extends Asset.AssetBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.relations.Reference
Reference.ReferenceBuilder<C extends Reference,
B extends Reference.ReferenceBuilder<C, B>>, Reference.SaveSemantic Nested classes/interfaces inherited from class com.atlan.model.core.AtlanObject
AtlanObject.AtlanObjectBuilder<C extends AtlanObject,
B extends AtlanObject.AtlanObjectBuilder<C, B>> -
Field Summary
Fields inherited from class com.atlan.model.core.AtlanObject
rawJsonObject
Fields inherited from interface com.atlan.model.assets.IAsset
ADMIN_GROUPS, ADMIN_ROLES, ADMIN_USERS, ANNOUNCEMENT_MESSAGE, ANNOUNCEMENT_TITLE, ANNOUNCEMENT_TYPE, ANNOUNCEMENT_UPDATED_AT, ANNOUNCEMENT_UPDATED_BY, ANOMALO_CHECKS, ASSET_ANOMALO_APPLIED_CHECK_TYPES, ASSET_ANOMALO_CHECK_COUNT, ASSET_ANOMALO_CHECK_STATUSES, ASSET_ANOMALO_DQ_STATUS, ASSET_ANOMALO_FAILED_CHECK_COUNT, ASSET_ANOMALO_FAILED_CHECK_TYPES, ASSET_ANOMALO_LAST_CHECK_RUN_AT, ASSET_ANOMALO_SOURCE_URL, ASSET_COVER_IMAGE, ASSET_DBT_ACCOUNT_NAME, ASSET_DBT_ALIAS, ASSET_DBT_ENVIRONMENT_DBT_VERSION, ASSET_DBT_ENVIRONMENT_NAME, ASSET_DBT_JOB_LAST_RUN, ASSET_DBT_JOB_LAST_RUN_ARTIFACT_S3PATH, ASSET_DBT_JOB_LAST_RUN_ARTIFACTS_SAVED, ASSET_DBT_JOB_LAST_RUN_CREATED_AT, ASSET_DBT_JOB_LAST_RUN_DEQUED_AT, ASSET_DBT_JOB_LAST_RUN_EXECUTED_BY_THREAD_ID, ASSET_DBT_JOB_LAST_RUN_GIT_BRANCH, ASSET_DBT_JOB_LAST_RUN_GIT_SHA, ASSET_DBT_JOB_LAST_RUN_HAS_DOCS_GENERATED, ASSET_DBT_JOB_LAST_RUN_HAS_SOURCES_GENERATED, ASSET_DBT_JOB_LAST_RUN_NOTIFICATIONS_SENT, ASSET_DBT_JOB_LAST_RUN_OWNER_THREAD_ID, ASSET_DBT_JOB_LAST_RUN_QUEUED_DURATION, ASSET_DBT_JOB_LAST_RUN_QUEUED_DURATION_HUMANIZED, ASSET_DBT_JOB_LAST_RUN_RUN_DURATION, ASSET_DBT_JOB_LAST_RUN_RUN_DURATION_HUMANIZED, ASSET_DBT_JOB_LAST_RUN_STARTED_AT, ASSET_DBT_JOB_LAST_RUN_STATUS_MESSAGE, ASSET_DBT_JOB_LAST_RUN_TOTAL_DURATION, ASSET_DBT_JOB_LAST_RUN_TOTAL_DURATION_HUMANIZED, ASSET_DBT_JOB_LAST_RUN_UPDATED_AT, ASSET_DBT_JOB_LAST_RUN_URL, ASSET_DBT_JOB_NAME, ASSET_DBT_JOB_NEXT_RUN, ASSET_DBT_JOB_NEXT_RUN_HUMANIZED, ASSET_DBT_JOB_SCHEDULE, ASSET_DBT_JOB_SCHEDULE_CRON_HUMANIZED, ASSET_DBT_JOB_STATUS, ASSET_DBT_META, ASSET_DBT_PACKAGE_NAME, ASSET_DBT_PROJECT_NAME, ASSET_DBT_SEMANTIC_LAYER_PROXY_URL, ASSET_DBT_SOURCE_FRESHNESS_CRITERIA, ASSET_DBT_TAGS, ASSET_DBT_TEST_STATUS, ASSET_DBT_UNIQUE_ID, ASSET_DBT_WORKFLOW_LAST_UPDATED, ASSET_ICON, ASSET_MC_ALERT_QUALIFIED_NAMES, ASSET_MC_INCIDENT_NAMES, ASSET_MC_INCIDENT_PRIORITIES, ASSET_MC_INCIDENT_QUALIFIED_NAMES, ASSET_MC_INCIDENT_SEVERITIES, ASSET_MC_INCIDENT_STATES, ASSET_MC_INCIDENT_SUB_TYPES, ASSET_MC_INCIDENT_TYPES, ASSET_MC_LAST_SYNC_RUN_AT, ASSET_MC_MONITOR_NAMES, ASSET_MC_MONITOR_QUALIFIED_NAMES, ASSET_MC_MONITOR_SCHEDULE_TYPES, ASSET_MC_MONITOR_STATUSES, ASSET_MC_MONITOR_TYPES, ASSET_POLICIES_COUNT, ASSET_POLICY_GUIDS, ASSET_SODA_CHECK_COUNT, ASSET_SODA_CHECK_STATUSES, ASSET_SODA_DQ_STATUS, ASSET_SODA_LAST_SCAN_AT, ASSET_SODA_LAST_SYNC_RUN_AT, ASSET_SODA_SOURCE_URL, ASSET_TAGS, ASSET_THEME_HEX, CERTIFICATE_STATUS, CERTIFICATE_STATUS_MESSAGE, CERTIFICATE_UPDATED_AT, CERTIFICATE_UPDATED_BY, CONNECTION_NAME, CONNECTION_QUALIFIED_NAME, CONNECTOR_TYPE, DATA_CONTRACT_LATEST, DATA_CONTRACT_LATEST_CERTIFIED, DBT_QUALIFIED_NAME, DESCRIPTION, DISPLAY_NAME, DOMAIN_GUIDS, FILES, HAS_CONTRACT, HAS_LINEAGE, INPUT_PORT_DATA_PRODUCTS, IS_AI_GENERATED, IS_DISCOVERABLE, IS_EDITABLE, IS_PARTIAL, LAST_ROW_CHANGED_AT, LAST_SYNC_RUN, LAST_SYNC_RUN_AT, LAST_SYNC_WORKFLOW_NAME, LEXICOGRAPHICAL_SORT_ORDER, LINKS, MC_INCIDENTS, MC_MONITORS, METRICS, NAME, NON_COMPLIANT_ASSET_POLICY_GUIDS, OUTPUT_PORT_DATA_PRODUCTS, OWNER_GROUPS, OWNER_USERS, POPULARITY_SCORE, QUALIFIED_NAME, README, SAMPLE_DATA_URL, SCHEMA_REGISTRY_SUBJECTS, SODA_CHECKS, SOURCE_COST_UNIT, SOURCE_CREATED_AT, SOURCE_CREATED_BY, SOURCE_EMBED_URL, SOURCE_LAST_READ_AT, SOURCE_OWNERS, SOURCE_QUERY_COMPUTE_COST_RECORDS, SOURCE_QUERY_COMPUTE_COSTS, SOURCE_READ_COUNT, SOURCE_READ_EXPENSIVE_QUERY_RECORDS, SOURCE_READ_POPULAR_QUERY_RECORDS, SOURCE_READ_QUERY_COST, SOURCE_READ_RECENT_USER_RECORDS, SOURCE_READ_RECENT_USERS, SOURCE_READ_SLOW_QUERY_RECORDS, SOURCE_READ_TOP_USER_RECORDS, SOURCE_READ_TOP_USERS, SOURCE_READ_USER_COUNT, SOURCE_TOTAL_COST, SOURCE_UPDATED_AT, SOURCE_UPDATED_BY, SOURCE_URL, STARRED_BY, STARRED_COUNT, STARRED_DETAILS, SUB_TYPE, TENANT_ID, USER_DEF_RELATIONSHIP_FROMS, USER_DEF_RELATIONSHIP_TOS, USER_DESCRIPTION, VIEW_SCORE, VIEWER_GROUPS, VIEWER_USERS
Fields inherited from interface com.atlan.model.assets.IReferenceable
ASSIGNED_TERMS, ATLAN_TAGS, CREATE_TIME, CREATED_BY, CUSTOM_ATTRIBUTES, GUID, PROPAGATED_ATLAN_TAGS, STATUS, SUPER_TYPE_NAMES, TYPE_NAME, UPDATE_TIME, UPDATED_BY
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static AssetMutationResponse
addApiTokenAsAdmin
(String assetGuid, String impersonationToken) Add the API token configured for the default client as an admin to this object.protected static Asset
appendAtlanTags
(AtlanClient client, String typeName, String qualifiedName, List<String> atlanTagNames) Add Atlan tags to an asset, without replacing existing Atlan tags linked to the asset.protected static Asset
appendAtlanTags
(AtlanClient client, String typeName, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) Add Atlan tags to an asset, without replacing existing Atlan tags linked to the asset.protected static Asset
appendTerms
(AtlanClient client, String typeName, String qualifiedName, List<IGlossaryTerm> terms) Link additional terms to an asset, without replacing existing terms linked to the asset.protected boolean
static AssetDeletionResponse
delete
(AtlanClient client, String guid) Soft-deletes an asset by its GUID.static AssetDeletionResponse
Soft-deletes an asset by its GUID.boolean
static Asset
get
(AtlanClient client, String guid, boolean includeRelationships) Retrieves an asset by its GUID, optionally complete with all of its relationships.static Asset
get
(AtlanClient client, String typeName, String qualifiedName, boolean includeRelationships) Retrieves an asset by its qualifiedName, optionally complete with all of its relationships.List of groups who administer this asset.List of roles who administer this asset.List of users who administer this asset.Detailed message to include in the announcement on this asset.Brief title for the announcement on this asset.Type of announcement on this asset.Time (epoch) at which the announcement was last updated, in milliseconds.Name of the user who last updated the announcement.Checks that run on this asset.All associated Anomalo check types.Total number of checks present in Anomalo for this asset.Stringified JSON object containing status of all Anomalo checks associated to this asset.Status of data quality from Anomalo.Total number of checks failed in Anomalo for this asset.All associated Anomalo failed check types.Time (epoch) at which the last check was run via Anomalo.URL of the source in Anomalo.TBCName of the account in which this asset exists in dbt.Alias of this asset in dbt.Version of the environment in which this asset is materialized in dbt.Name of the environment in which this asset is materialized in dbt.Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt.Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false).Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds.Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds.Thread ID of the user who executed the last run of the job that materialized this asset in dbt.Branch in git from which the last run of the job that materialized this asset in dbt ran.SHA hash in git for the last run of the job that materialized this asset in dbt.Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false).Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false).Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false).Thread ID of the owner of the last run of the job that materialized this asset in dbt.Total duration the job that materialized this asset in dbt spent being queued.Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued.Run duration of the last run of the job that materialized this asset in dbt.Human-readable run duration of the last run of the job that materialized this asset in dbt.Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds.Status message of the last run of the job that materialized this asset in dbt.Total duration of the last run of the job that materialized this asset in dbt.Human-readable total duration of the last run of the job that materialized this asset in dbt.Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds.URL of the last run of the job that materialized this asset in dbt.Name of the job that materialized this asset in dbt.Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled.Human-readable time when the next run of the job that materializes this asset in dbt is scheduled.Schedule of the job that materialized this asset in dbt.Human-readable cron schedule of the job that materialized this asset in dbt.Status of the job that materialized this asset in dbt.Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.Name of the package in which this asset exists in dbt.Name of the project in which this asset exists in dbt.URL of the semantic layer proxy for this asset in dbt.Freshness criteria for the source of this asset in dbt.List of tags attached to this asset in dbt.All associated dbt test statuses.Unique identifier of this asset in dbt.Name of the DBT workflow in Atlan that last updated the asset.Name of the icon to use for this asset.List of unique Monte Carlo alert names attached to this asset.List of Monte Carlo incident names attached to this asset.List of Monte Carlo incident priorities associated with this asset.List of unique Monte Carlo incident names attached to this asset.List of Monte Carlo incident severities associated with this asset.List of Monte Carlo incident states associated with this asset.List of Monte Carlo incident sub-types associated with this asset.List of Monte Carlo incident types associated with this asset.Time (epoch) at which this asset was last synced from Monte Carlo.List of Monte Carlo monitor names attached to this asset.List of unique Monte Carlo monitor names attached to this asset.Schedules of all associated Monte Carlo monitors.Statuses of all associated Monte Carlo monitors.Types of all associated Monte Carlo monitors.Count of policies inside the assetArray of policy ids governing this assetNumber of checks done via Soda.All associated Soda check statuses.Status of data quality from Soda.TBCTBCTBCList of tags attached to this asset.Color (in hexadecimal RGB) to use to represent this asset.Glossary terms that are linked to this asset.Deprecated.Atlan tags assigned to the asset.Status of this asset's certification.Human-readable descriptive message used to provide further detail to certificateStatus.Time (epoch) at which the certification was last updated, in milliseconds.Name of the user who last updated the certification of this asset.Simple name of the connection through which this asset is accessible.Unique name of the connection through which this asset is accessible.Type of the connector through which this asset is accessible.User or account that created the asset.Time (epoch) at which the asset was created, in milliseconds.getCustomMetadata
(String setName, String attrName) Retrieve the value of the custom metadata attribute from this asset.Map of custom metadata attributes and values defined on the asset.Latest version of the data contract (in any status) for this asset.Latest certified version of the data contract for this asset.Unique name of this asset in dbt.Details on the handler used for deletion of the asset.getDepth()
Depth of this asset within lineage.Description of this asset, for example as crawled from a source.Human-readable name of this asset used for display purposes (in user interface).Array of domain guids linked to this assetgetFiles()
TBCWhether this asset has contract (true) or not (false).Whether this asset has lineage (true) or not (false).Reference details about the asset(s) that are immediately downstream of this asset within lineage.Reference details about the asset(s) that are immediately upstream of this asset within lineage.Data products for which this asset is an input port.TBCWhether this asset is discoverable through the UI (true) or not (false).Whether this asset can be edited in the UI (true) or not (false).Unused.TBCTime (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds.Name of the last run of the crawler that last synchronized this asset.Time (epoch) at which this asset was last crawled, in milliseconds.Name of the crawler that last synchronized this asset.Custom order for sorting purpose, managed by clientgetLinks()
Links that are attached to this asset.TBCMonitors that observe this asset.Names of terms that have been linked to this asset.Deprecated.TBCgetName()
Name of this asset.Array of policy ids non-compliant to this assetRetrieve the list of fields to be serialized with null values.Data products for which this asset is an output port.List of groups who own this asset.List of users who own this asset.Unique identifiers (GUIDs) for any background tasks that are yet to operate on this asset.Popularity score for this asset.Unique name for this asset.README that is linked to this asset.URL for sample data for this asset.TBCTBCThe unit of measure for sourceTotalCost.Time (epoch) at which this asset was created in the source system, in milliseconds.Name of the user who created this asset, in the source system.URL to create an embed for a resource (for example, an image of a dashboard) within Atlan.Timestamp of most recent read operation.List of owners of this asset, in the source system.List of most expensive warehouses with extra insights.List of most expensive warehouse names.Total count of all read operations at source.List of the most expensive queries that accessed this asset.List of the most popular queries that accessed this asset.Total cost of read queries at source.List of usernames with extra insights for the most recent users who read this asset.List of usernames of the most recent users who read this asset.List of the slowest queries that accessed this asset.List of usernames with extra insights for the users who read this asset the most.List of usernames of the users who read this asset the most.Total number of unique users that read data from asset.Total cost of all operations at source.Time (epoch) at which this asset was last updated in the source system, in milliseconds.Name of the user who last updated this asset, in the source system.URL to the resource within the source application, used to create a button to view this asset in the source application.Users who have starred this asset.Number of users who have starred this asset.List of usernames with extra information of the users who have starred an asset.Status of the asset.Subtype of this asset.Name of the Atlan workspace in which this asset exists.User or account that last updated the asset.Time (epoch) at which the asset was last updated, in milliseconds.TBCTBCDescription of this asset, as provided by a user.List of groups who can view assets contained in a collection.List of users who can view assets contained in a collection.View score for this asset.int
hashCode()
lineage
(AtlanClient client, String guid) Start a fluent lineage request that will return all active downstream assets.lineage
(AtlanClient client, String guid, boolean includeArchived) Start a fluent lineage request that will return all downstream assets.Start a fluent lineage request that will return all active downstream assets.Start a fluent lineage request that will return all downstream assets.static AssetDeletionResponse
purge
(AtlanClient client, String guid) Hard-deletes (purges) an asset by its GUID.static AssetDeletionResponse
Hard-deletes (purges) an asset by its GUID.protected static Asset
removeAnnouncement
(AtlanClient client, Asset.AssetBuilder<?, ?> builder) Remove the announcement on an asset.protected static void
removeAtlanTag
(AtlanClient client, String typeName, String qualifiedName, String atlanTagName) Remove an Atlan tag from an asset.protected static Asset
removeCertificate
(AtlanClient client, Asset.AssetBuilder<?, ?> builder) Remove the certificate on an asset.static void
removeCustomMetadata
(AtlanClient client, String guid, String cmName) Remove specific custom metadata from an asset.static void
removeCustomMetadata
(String guid, String cmName) Remove specific custom metadata from an asset.protected static Asset
removeDescription
(AtlanClient client, Asset.AssetBuilder<?, ?> builder) Remove the system description from an asset.protected static Asset
removeOwners
(AtlanClient client, Asset.AssetBuilder<?, ?> builder) Remove the owners from an asset.protected static Asset
removeTerms
(AtlanClient client, String typeName, String qualifiedName, List<IGlossaryTerm> terms) Remove terms from an asset, without replacing all existing terms linked to the asset.protected static Asset
removeUserDescription
(AtlanClient client, Asset.AssetBuilder<?, ?> builder) Remove the user-provided description from an asset.static void
replaceCustomMetadata
(AtlanClient client, String guid, String cmName, CustomMetadataAttributes attributes) Replace specific custom metadata on the asset.static void
replaceCustomMetadata
(String guid, String cmName, CustomMetadataAttributes attributes) Replace specific custom metadata on the asset.protected static Asset
replaceTerms
(AtlanClient client, Asset.AssetBuilder<?, ?> builder, List<IGlossaryTerm> terms) Replace the terms linked to an asset.Start a fluent lineage request that will return all active downstream assets.requestLineage
(AtlanClient client) Start a fluent lineage request that will return all active downstream assets.protected static boolean
restore
(AtlanClient client, String typeName, String qualifiedName) Restore an archived (soft-deleted) asset to active.save()
If an asset with the same qualifiedName exists, updates the existing asset.save
(boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method.save
(AtlanClient client) If an asset with the same qualifiedName exists, updates the existing asset.save
(AtlanClient client, boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method.saveMergingCM
(boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided.saveMergingCM
(AtlanClient client, boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided.saveReplacingCM
(boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided.saveReplacingCM
(AtlanClient client, boolean replaceAtlanTags) If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided.toString()
Reduce the asset to the minimum set of properties required to relate to it.Asset.AssetBuilder<?,
?> Reduce the asset to the minimum set of properties required to update it.protected static Asset
updateAnnouncement
(AtlanClient client, Asset.AssetBuilder<?, ?> builder, AtlanAnnouncementType type, String title, String message) Update the announcement on an asset.protected static Asset
updateAnnouncement
(AtlanClient client, Asset.AssetBuilder<?, ?> builder, String typeName, String qualifiedName, AtlanAnnouncementType type, String title, String message) Update the announcement on an asset.protected static Asset
updateCertificate
(AtlanClient client, Asset.AssetBuilder<?, ?> builder, CertificateStatus certificate, String message) Update the certificate on an asset.protected static Asset
updateCertificate
(AtlanClient client, Asset.AssetBuilder<?, ?> builder, String typeName, String qualifiedName, CertificateStatus certificate, String message) Update the certificate on an asset.static void
updateCustomMetadataAttributes
(AtlanClient client, String guid, String cmName, CustomMetadataAttributes attributes) Update only the provided custom metadata attributes on the asset.static void
updateCustomMetadataAttributes
(String guid, String cmName, CustomMetadataAttributes attributes) Update only the provided custom metadata attributes on the asset.updateMergingCM
(boolean replaceAtlanTags) If no asset exists, fails with a NotFoundException.updateMergingCM
(AtlanClient client, boolean replaceAtlanTags) If no asset exists, fails with a NotFoundException.updateReplacingCM
(boolean replaceAtlanTags) If no asset exists, fails with a NotFoundException.updateReplacingCM
(AtlanClient client, boolean replaceAtlanTags) If no asset exists, fails with a NotFoundException.Methods inherited from class com.atlan.model.relations.Reference
builder, by, compareTo, getCompleteObject, getCustomAttributes, getDisplayText, getEntityStatus, getGuid, getLabels, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getSemantic, getTypeName, getUniqueAttributes, isComplete, isValidReference, isValidReferenceByGuid, isValidReferenceByQualifiedName, setCompleteObject, to, toBuilder, validateRelationship, validateRequired
Methods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJson
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.atlan.model.search.AuditDetail
getRawJsonObject, setRawJsonObject
Methods inherited from interface com.atlan.model.assets.IAsset
getDisplayText, getEntityStatus, getGuid, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getTypeName, getUniqueAttributes, isComplete, isValidReferenceByGuid, isValidReferenceByQualifiedName
Methods inherited from interface com.atlan.model.assets.IReferenceable
getGuid, getTypeName
-
Constructor Details
-
Asset
-
-
Method Details
-
getNullFields
Retrieve the list of fields to be serialized with null values. -
getQualifiedName
Unique name for this asset. This is typically a concatenation of the asset's name onto its parent's qualifiedName. This must be unique across all assets of the same type.- Specified by:
getQualifiedName
in interfaceIAsset
- Specified by:
getQualifiedName
in interfaceIReferenceable
-
getCustomMetadata
Retrieve the value of the custom metadata attribute from this asset. Note: returns null in all cases where the custom metadata does not exist, is not available on this asset, or simply is not assigned any value on this asset.- Parameters:
setName
- the name of the custom metadata set from which to retrieve the attribute's valueattrName
- the name of the custom metadata attribute for which to retrieve the value- Returns:
- the value of that custom metadata attribute on this asset, or null if there is no value
-
trimToRequired
Reduce the asset to the minimum set of properties required to update it.- Returns:
- a builder containing the minimal set of properties required to update this asset
- Throws:
InvalidRequestException
- if any of the minimal set of required properties are not found in the initial object
-
trimToReference
Reduce the asset to the minimum set of properties required to relate to it.- Returns:
- an asset containing the minimal set of properties required to relate to this asset
- Throws:
InvalidRequestException
- if any of the minimal set of required properties are not found in the initial object
-
save
If an asset with the same qualifiedName exists, updates the existing asset. Otherwise, creates the asset. No Atlan tags or custom metadata will be changed if updating an existing asset, irrespective of what is included in the asset itself when the method is called.- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
save
If an asset with the same qualifiedName exists, updates the existing asset. Otherwise, creates the asset. No Atlan tags or custom metadata will be changed if updating an existing asset, irrespective of what is included in the asset itself when the method is called.- Parameters:
client
- connectivity to the Atlan tenant on which to save the asset- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
save
If no asset exists, has the same behavior as thesave()
method. If an asset does exist, optionally overwrites any Atlan tags. Custom metadata will always be entirely ignored using this method.- Parameters:
replaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
save
public AssetMutationResponse save(AtlanClient client, boolean replaceAtlanTags) throws AtlanException If no asset exists, has the same behavior as thesave()
method. If an asset does exist, optionally overwrites any Atlan tags. Custom metadata will always be entirely ignored using this method.- Parameters:
client
- connectivity to the Atlan tenant on which to save this assetreplaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
saveMergingCM
If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided. If an asset does exist, optionally overwrites any Atlan tags. Will merge any provided custom metadata with any custom metadata that already exists on the asset.- Parameters:
replaceAtlanTags
- whether to replace AtlanTags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
saveMergingCM
public AssetMutationResponse saveMergingCM(AtlanClient client, boolean replaceAtlanTags) throws AtlanException If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided. If an asset does exist, optionally overwrites any Atlan tags. Will merge any provided custom metadata with any custom metadata that already exists on the asset.- Parameters:
client
- connectivity to the Atlan tenant where this asset should be savedreplaceAtlanTags
- whether to replace AtlanTags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
saveReplacingCM
If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided. If an asset does exist, optionally overwrites any Atlan tags. Will overwrite all custom metadata on any existing asset with only the custom metadata provided (wiping out any other custom metadata on an existing asset that is not provided in the request).- Parameters:
replaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
saveReplacingCM
public AssetMutationResponse saveReplacingCM(AtlanClient client, boolean replaceAtlanTags) throws AtlanException If no asset exists, has the same behavior as thesave()
method, while also setting any custom metadata provided. If an asset does exist, optionally overwrites any Atlan tags. Will overwrite all custom metadata on any existing asset with only the custom metadata provided (wiping out any other custom metadata on an existing asset that is not provided in the request).- Parameters:
client
- connectivity to the Atlan tenant where this asset should be savedreplaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the created or updated asset
- Throws:
AtlanException
- on any error during the API invocation
-
updateMergingCM
If no asset exists, fails with a NotFoundException. Will merge any provided custom metadata with any custom metadata that already exists on the asset. If an asset does exist, optionally overwrites any Atlan tags.- Parameters:
replaceAtlanTags
- whether to replace AtlanTags during an update (true) or not (false)- Returns:
- details of the updated asset
- Throws:
AtlanException
- on any error during the API invocationNotFoundException
- if the asset does not exist (will not create it)
-
updateMergingCM
public AssetMutationResponse updateMergingCM(AtlanClient client, boolean replaceAtlanTags) throws AtlanException If no asset exists, fails with a NotFoundException. Will merge any provided custom metadata with any custom metadata that already exists on the asset. If an asset does exist, optionally overwrites any Atlan tags.- Parameters:
client
- connectivity to the Atlan tenant where this asset should be savedreplaceAtlanTags
- whether to replace AtlanTags during an update (true) or not (false)- Returns:
- details of the updated asset
- Throws:
AtlanException
- on any error during the API invocationNotFoundException
- if the asset does not exist (will not create it)
-
updateReplacingCM
If no asset exists, fails with a NotFoundException. Will overwrite all custom metadata on any existing asset with only the custom metadata provided (wiping out any other custom metadata on an existing asset that is not provided in the request). If an asset does exist, optionally overwrites any Atlan tags.- Parameters:
replaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the updated asset
- Throws:
AtlanException
- on any error during the API invocationNotFoundException
- if the asset does not exist (will not create it)
-
updateReplacingCM
public AssetMutationResponse updateReplacingCM(AtlanClient client, boolean replaceAtlanTags) throws AtlanException If no asset exists, fails with a NotFoundException. Will overwrite all custom metadata on any existing asset with only the custom metadata provided (wiping out any other custom metadata on an existing asset that is not provided in the request). If an asset does exist, optionally overwrites any Atlan tags.- Parameters:
client
- connectivity to the Atlan tenant where this asset should be savedreplaceAtlanTags
- whether to replace Atlan tags during an update (true) or not (false)- Returns:
- details of the updated asset
- Throws:
AtlanException
- on any error during the API invocationNotFoundException
- if the asset does not exist (will not create it)
-
requestLineage
Start a fluent lineage request that will return all active downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) assets will be included. (To change the default direction of downstream, chain a .direction() call.)- Returns:
- a fluent lineage request that includes all active downstream assets
-
requestLineage
Start a fluent lineage request that will return all active downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) assets will be included. (To change the default direction of downstream, chain a .direction() call.)- Parameters:
client
- connectivity to Atlan tenant- Returns:
- a fluent lineage request that includes all active downstream assets
-
addApiTokenAsAdmin
protected static AssetMutationResponse addApiTokenAsAdmin(String assetGuid, String impersonationToken) throws AtlanException Add the API token configured for the default client as an admin to this object.- Parameters:
assetGuid
- unique identifier (GUID) of the asset to which we should add this API token as an adminimpersonationToken
- a bearer token for an actual user who is already an admin for the object, NOT an API token- Throws:
AtlanException
- on any error during API invocation
-
get
public static Asset get(AtlanClient client, String guid, boolean includeRelationships) throws AtlanException Retrieves an asset by its GUID, optionally complete with all of its relationships. The type of the asset will only be determined at runtime.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assetguid
- of the asset to retrieveincludeRelationships
- if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved- Returns:
- the requested full asset, optionally complete with all of its relationships
- Throws:
AtlanException
- on any error during the API invocation, such as theNotFoundException
if the asset does not exist
-
get
public static Asset get(AtlanClient client, String typeName, String qualifiedName, boolean includeRelationships) throws AtlanException Retrieves an asset by its qualifiedName, optionally complete with all of its relationships. The type of the asset will only be determined at runtime.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assettypeName
- the type of the asset to retrievequalifiedName
- the unique name of the asset to retrieveincludeRelationships
- if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved- Returns:
- the requested full asset, optionally complete with all of its relationships
- Throws:
AtlanException
- on any error during the API invocation, such as theNotFoundException
if the asset does not exist
-
delete
Soft-deletes an asset by its GUID. This operation can be reversed by updating the asset and changing itsstatus
toACTIVE
.- Parameters:
guid
- of the asset to soft-delete- Returns:
- details of the soft-deleted asset
- Throws:
AtlanException
- on any error during the API invocation
-
delete
Soft-deletes an asset by its GUID. This operation can be reversed by updating the asset and changing itsstatus
toACTIVE
.- Parameters:
client
- connectivity to the Atlan tenant from which to delete the assetguid
- of the asset to soft-delete- Returns:
- details of the soft-deleted asset
- Throws:
AtlanException
- on any error during the API invocation
-
purge
Hard-deletes (purges) an asset by its GUID. This operation is irreversible.- Parameters:
guid
- of the asset to hard-delete- Returns:
- details of the hard-deleted asset
- Throws:
AtlanException
- on any error during the API invocation
-
purge
Hard-deletes (purges) an asset by its GUID. This operation is irreversible.- Parameters:
client
- connectivity to the Atlan tenant from which to delete the assetguid
- of the asset to hard-delete- Returns:
- details of the hard-deleted asset
- Throws:
AtlanException
- on any error during the API invocation
-
lineage
Start a fluent lineage request that will return all active downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) assets will be included. (To change the default direction of downstream, chain a .direction() call.)- Parameters:
guid
- unique identifier (GUID) for the starting point of lineage- Returns:
- a fluent lineage request that includes all active downstream assets
-
lineage
Start a fluent lineage request that will return all active downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) assets will be included. (To change the default direction of downstream, chain a .direction() call.)- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assetsguid
- unique identifier (GUID) for the starting point of lineage- Returns:
- a fluent lineage request that includes all active downstream assets
-
lineage
Start a fluent lineage request that will return all downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. (To change the default direction of downstream, chain a .direction() call.)- Parameters:
guid
- unique identifier (GUID) for the starting point of lineageincludeArchived
- when true, archived (soft-deleted) assets in lineage will be included- Returns:
- a fluent lineage request that includes all downstream assets
-
lineage
public static FluentLineage.FluentLineageBuilder lineage(AtlanClient client, String guid, boolean includeArchived) Start a fluent lineage request that will return all downstream assets. Additional conditions can be chained onto the returned builder before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. (To change the default direction of downstream, chain a .direction() call.)- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the lineageguid
- unique identifier (GUID) for the starting point of lineageincludeArchived
- when true, archived (soft-deleted) assets in lineage will be included- Returns:
- a fluent search that includes all downstream assets
-
updateCustomMetadataAttributes
public static void updateCustomMetadataAttributes(String guid, String cmName, CustomMetadataAttributes attributes) throws AtlanException Update only the provided custom metadata attributes on the asset. This will leave all other custom metadata attributes, even within the same named custom metadata, unchanged.- Parameters:
guid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to updateattributes
- the values of the custom metadata attributes to change- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
updateCustomMetadataAttributes
public static void updateCustomMetadataAttributes(AtlanClient client, String guid, String cmName, CustomMetadataAttributes attributes) throws AtlanException Update only the provided custom metadata attributes on the asset. This will leave all other custom metadata attributes, even within the same named custom metadata, unchanged.- Parameters:
client
- connectivity to the Atlan tenant on which to update the asset's custom metadata attributesguid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to updateattributes
- the values of the custom metadata attributes to change- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
replaceCustomMetadata
public static void replaceCustomMetadata(String guid, String cmName, CustomMetadataAttributes attributes) throws AtlanException Replace specific custom metadata on the asset. This will replace everything within the named custom metadata, but will not change any of the other named custom metadata on the asset.- Parameters:
guid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to replaceattributes
- the values of the attributes to replace for the custom metadata- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
replaceCustomMetadata
public static void replaceCustomMetadata(AtlanClient client, String guid, String cmName, CustomMetadataAttributes attributes) throws AtlanException Replace specific custom metadata on the asset. This will replace everything within the named custom metadata, but will not change any of the other named custom metadata on the asset.- Parameters:
client
- connectivity to the Atlan tenant on which to replace the asset's custom metadataguid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to replaceattributes
- the values of the attributes to replace for the custom metadata- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
removeCustomMetadata
Remove specific custom metadata from an asset.- Parameters:
guid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to remove- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
removeCustomMetadata
public static void removeCustomMetadata(AtlanClient client, String guid, String cmName) throws AtlanException Remove specific custom metadata from an asset.- Parameters:
client
- connectivity to the Atlan tenant from which to remove the asset's custom metadataguid
- unique identifier of the assetcmName
- human-readable name of the custom metadata to remove- Throws:
AtlanException
- on any API problems, or if the custom metadata is not defined in Atlan
-
appendAtlanTags
protected static Asset appendAtlanTags(AtlanClient client, String typeName, String qualifiedName, List<String> atlanTagNames) throws AtlanException Add Atlan tags to an asset, without replacing existing Atlan tags linked to the asset. Note: this operation must make two API calls — one to retrieve the asset's existing Atlan tags, and a second to append the new Atlan tags.- Parameters:
client
- connectivity to the Atlan tenant on which to append Atlan tags to the assettypeName
- type of the assetqualifiedName
- of the assetatlanTagNames
- human-readable names of the Atlan tags to append- Returns:
- the asset that was updated
- Throws:
AtlanException
- on any API problems
-
appendAtlanTags
protected static Asset appendAtlanTags(AtlanClient client, String typeName, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException Add Atlan tags to an asset, without replacing existing Atlan tags linked to the asset. Note: this operation must make two API calls — one to retrieve the asset's existing Atlan tags, and a second to append the new Atlan tags.- Parameters:
client
- connectivity to the Atlan tenant on which to add the Atlan tags to the assettypeName
- type of the assetqualifiedName
- of the assetatlanTagNames
- human-readable names of the Atlan tags to addpropagate
- whether to propagate the Atlan tag (true) or not (false)removePropagationsOnDelete
- whether to remove the propagated Atlan tags when the Atlan tag is removed from this asset (true) or not (false)restrictLineagePropagation
- whether to avoid propagating through lineage (true) or do propagate through lineage (false)- Returns:
- the asset that was updated
- Throws:
AtlanException
- on any API problems
-
removeAtlanTag
protected static void removeAtlanTag(AtlanClient client, String typeName, String qualifiedName, String atlanTagName) throws AtlanException Remove an Atlan tag from an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the Atlan tag from the assettypeName
- type of the assetqualifiedName
- of the assetatlanTagName
- human-readable name of the Atlan tags to remove- Throws:
AtlanException
- on any API problems, or if any of the Atlan tag does not exist on the asset
-
updateCertificate
protected static Asset updateCertificate(AtlanClient client, Asset.AssetBuilder<?, ?> builder, CertificateStatus certificate, String message) throws AtlanExceptionUpdate the certificate on an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to update the asset's certificatebuilder
- the builder to use for updating the certificatecertificate
- certificate to setmessage
- (optional) message to set (or null for no message)- Returns:
- the result of the update, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
removeCertificate
protected static Asset removeCertificate(AtlanClient client, Asset.AssetBuilder<?, ?> builder) throws AtlanExceptionRemove the certificate on an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's certificatebuilder
- the builder to use for removing the certificate- Returns:
- the result of the removal, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
updateAnnouncement
protected static Asset updateAnnouncement(AtlanClient client, Asset.AssetBuilder<?, ?> builder, AtlanAnnouncementType type, String title, String message) throws AtlanExceptionUpdate the announcement on an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to update the asset's announcementbuilder
- the builder to use for updating the announcementtype
- type of announcement to settitle
- (optional) title of the announcement to set (or null for no title)message
- (optional) message of the announcement to set (or null for no message)- Returns:
- the result of the update, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
removeAnnouncement
protected static Asset removeAnnouncement(AtlanClient client, Asset.AssetBuilder<?, ?> builder) throws AtlanExceptionRemove the announcement on an asset.- Parameters:
client
- connectivity to the Atlan tenant from which to remove the asset's announcementbuilder
- the builder to use for removing the announcement- Returns:
- the result of the removal, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeDescription
protected static Asset removeDescription(AtlanClient client, Asset.AssetBuilder<?, ?> builder) throws AtlanExceptionRemove the system description from an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's descriptionbuilder
- the builder to use for removing the description- Returns:
- the result of the removal, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeUserDescription
protected static Asset removeUserDescription(AtlanClient client, Asset.AssetBuilder<?, ?> builder) throws AtlanExceptionRemove the user-provided description from an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's descriptionbuilder
- the builder to use for removing the description- Returns:
- the result of the removal, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeOwners
protected static Asset removeOwners(AtlanClient client, Asset.AssetBuilder<?, ?> builder) throws AtlanExceptionRemove the owners from an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's ownersbuilder
- the builder to use for removing the owners- Returns:
- the result of the removal, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
updateCertificate
protected static Asset updateCertificate(AtlanClient client, Asset.AssetBuilder<?, ?> builder, String typeName, String qualifiedName, CertificateStatus certificate, String message) throws AtlanExceptionUpdate the certificate on an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to update the asset's certificatebuilder
- the builder to use for updating the certificatetypeName
- type of the assetqualifiedName
- for the assetcertificate
- certificate to setmessage
- (optional) message to set (or null for no message)- Returns:
- the result of the update, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
updateAnnouncement
protected static Asset updateAnnouncement(AtlanClient client, Asset.AssetBuilder<?, ?> builder, String typeName, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanExceptionUpdate the announcement on an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to update the asset's announcementbuilder
- the builder to use for updating the announcementtypeName
- type of the assetqualifiedName
- for the assettype
- type of announcement to settitle
- (optional) title of the announcement to set (or null for no title)message
- (optional) message of the announcement to set (or null for no message)- Returns:
- the result of the update, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
restore
protected static boolean restore(AtlanClient client, String typeName, String qualifiedName) throws AtlanException Restore an archived (soft-deleted) asset to active.- Parameters:
client
- connectivity to the Atlan tenant on which to restore the assettypeName
- type of the asset to restorequalifiedName
- of the asset to restore- Returns:
- true if the asset is now restored, or false if not
- Throws:
AtlanException
- on any API problems
-
replaceTerms
protected static Asset replaceTerms(AtlanClient client, Asset.AssetBuilder<?, ?> builder, List<IGlossaryTerm> terms) throws AtlanExceptionReplace the terms linked to an asset.- Parameters:
client
- connectivity to the Atlan tenant on which to replace the asset's termsbuilder
- the builder to use for updating the termsterms
- the list of terms to replace on the asset, or null to remove all terms from an asset- Returns:
- the asset that was updated (note that it will NOT contain details of the replaced terms)
- Throws:
AtlanException
- on any API problems
-
appendTerms
protected static Asset appendTerms(AtlanClient client, String typeName, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Link additional terms to an asset, without replacing existing terms linked to the asset. Note: this operation must make two API calls — one to retrieve the asset's existing terms, and a second to append the new terms.- Parameters:
client
- connectivity to the Atlan tenant on which to append terms to the assettypeName
- type of the assetqualifiedName
- for the assetterms
- the list of terms to append to the asset- Returns:
- the asset that was updated (note that it will NOT contain details of the appended terms)
- Throws:
AtlanException
- on any API problems
-
removeTerms
protected static Asset removeTerms(AtlanClient client, String typeName, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Remove terms from an asset, without replacing all existing terms linked to the asset. Note: this operation must make two API calls — one to retrieve the asset's existing terms, and a second to remove the provided terms.- Parameters:
client
- connectivity to the Atlan tenant on which to remove terms from the assettypeName
- type of the assetqualifiedName
- for the assetterms
- the list of terms to remove from the asset (note: these must be references by GUID in order to efficiently remove any existing terms)- Returns:
- the asset that was updated (note that it will NOT contain details of the resulting terms)
- Throws:
AtlanException
- on any API problemsInvalidRequestException
- if any of the passed terms are not valid references by GUID to a term
-
getAdminGroups
List of groups who administer this asset. (This is only used for certain asset types.)- Specified by:
getAdminGroups
in interfaceIAsset
-
getAdminRoles
List of roles who administer this asset. (This is only used for Connection assets.)- Specified by:
getAdminRoles
in interfaceIAsset
-
getAdminUsers
List of users who administer this asset. (This is only used for certain asset types.)- Specified by:
getAdminUsers
in interfaceIAsset
-
getAnnouncementMessage
Detailed message to include in the announcement on this asset.- Specified by:
getAnnouncementMessage
in interfaceIAsset
-
getAnnouncementTitle
Brief title for the announcement on this asset. Required when announcementType is specified.- Specified by:
getAnnouncementTitle
in interfaceIAsset
-
getAnnouncementType
Type of announcement on this asset.- Specified by:
getAnnouncementType
in interfaceIAsset
-
getAnnouncementUpdatedAt
Time (epoch) at which the announcement was last updated, in milliseconds.- Specified by:
getAnnouncementUpdatedAt
in interfaceIAsset
-
getAnnouncementUpdatedBy
Name of the user who last updated the announcement.- Specified by:
getAnnouncementUpdatedBy
in interfaceIAsset
-
getAnomaloChecks
Checks that run on this asset.- Specified by:
getAnomaloChecks
in interfaceIAsset
-
getAssetAnomaloAppliedCheckTypes
All associated Anomalo check types.- Specified by:
getAssetAnomaloAppliedCheckTypes
in interfaceIAsset
-
getAssetAnomaloCheckCount
Total number of checks present in Anomalo for this asset.- Specified by:
getAssetAnomaloCheckCount
in interfaceIAsset
-
getAssetAnomaloCheckStatuses
Stringified JSON object containing status of all Anomalo checks associated to this asset.- Specified by:
getAssetAnomaloCheckStatuses
in interfaceIAsset
-
getAssetAnomaloDQStatus
Status of data quality from Anomalo.- Specified by:
getAssetAnomaloDQStatus
in interfaceIAsset
-
getAssetAnomaloFailedCheckCount
Total number of checks failed in Anomalo for this asset.- Specified by:
getAssetAnomaloFailedCheckCount
in interfaceIAsset
-
getAssetAnomaloFailedCheckTypes
All associated Anomalo failed check types.- Specified by:
getAssetAnomaloFailedCheckTypes
in interfaceIAsset
-
getAssetAnomaloLastCheckRunAt
Time (epoch) at which the last check was run via Anomalo.- Specified by:
getAssetAnomaloLastCheckRunAt
in interfaceIAsset
-
getAssetAnomaloSourceUrl
URL of the source in Anomalo.- Specified by:
getAssetAnomaloSourceUrl
in interfaceIAsset
-
getAssetCoverImage
TBC- Specified by:
getAssetCoverImage
in interfaceIAsset
-
getAssetDbtAccountName
Name of the account in which this asset exists in dbt.- Specified by:
getAssetDbtAccountName
in interfaceIAsset
-
getAssetDbtAlias
Alias of this asset in dbt.- Specified by:
getAssetDbtAlias
in interfaceIAsset
-
getAssetDbtEnvironmentDbtVersion
Version of the environment in which this asset is materialized in dbt.- Specified by:
getAssetDbtEnvironmentDbtVersion
in interfaceIAsset
-
getAssetDbtEnvironmentName
Name of the environment in which this asset is materialized in dbt.- Specified by:
getAssetDbtEnvironmentName
in interfaceIAsset
-
getAssetDbtJobLastRun
Time (epoch) at which the job that materialized this asset in dbt last ran, in milliseconds.- Specified by:
getAssetDbtJobLastRun
in interfaceIAsset
-
getAssetDbtJobLastRunArtifactS3Path
Path in S3 to the artifacts saved from the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunArtifactS3Path
in interfaceIAsset
-
getAssetDbtJobLastRunArtifactsSaved
Whether artifacts were saved from the last run of the job that materialized this asset in dbt (true) or not (false).- Specified by:
getAssetDbtJobLastRunArtifactsSaved
in interfaceIAsset
-
getAssetDbtJobLastRunCreatedAt
Time (epoch) at which the job that materialized this asset in dbt was last created, in milliseconds.- Specified by:
getAssetDbtJobLastRunCreatedAt
in interfaceIAsset
-
getAssetDbtJobLastRunDequedAt
Time (epoch) at which the job that materialized this asset in dbt was dequeued, in milliseconds.- Specified by:
getAssetDbtJobLastRunDequedAt
in interfaceIAsset
-
getAssetDbtJobLastRunExecutedByThreadId
Thread ID of the user who executed the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunExecutedByThreadId
in interfaceIAsset
-
getAssetDbtJobLastRunGitBranch
Branch in git from which the last run of the job that materialized this asset in dbt ran.- Specified by:
getAssetDbtJobLastRunGitBranch
in interfaceIAsset
-
getAssetDbtJobLastRunGitSha
SHA hash in git for the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunGitSha
in interfaceIAsset
-
getAssetDbtJobLastRunHasDocsGenerated
Whether docs were generated from the last run of the job that materialized this asset in dbt (true) or not (false).- Specified by:
getAssetDbtJobLastRunHasDocsGenerated
in interfaceIAsset
-
getAssetDbtJobLastRunHasSourcesGenerated
Whether sources were generated from the last run of the job that materialized this asset in dbt (true) or not (false).- Specified by:
getAssetDbtJobLastRunHasSourcesGenerated
in interfaceIAsset
-
getAssetDbtJobLastRunNotificationsSent
Whether notifications were sent from the last run of the job that materialized this asset in dbt (true) or not (false).- Specified by:
getAssetDbtJobLastRunNotificationsSent
in interfaceIAsset
-
getAssetDbtJobLastRunOwnerThreadId
Thread ID of the owner of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunOwnerThreadId
in interfaceIAsset
-
getAssetDbtJobLastRunQueuedDuration
Total duration the job that materialized this asset in dbt spent being queued.- Specified by:
getAssetDbtJobLastRunQueuedDuration
in interfaceIAsset
-
getAssetDbtJobLastRunQueuedDurationHumanized
Human-readable total duration of the last run of the job that materialized this asset in dbt spend being queued.- Specified by:
getAssetDbtJobLastRunQueuedDurationHumanized
in interfaceIAsset
-
getAssetDbtJobLastRunRunDuration
Run duration of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunRunDuration
in interfaceIAsset
-
getAssetDbtJobLastRunRunDurationHumanized
Human-readable run duration of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunRunDurationHumanized
in interfaceIAsset
-
getAssetDbtJobLastRunStartedAt
Time (epoch) at which the job that materialized this asset in dbt was started running, in milliseconds.- Specified by:
getAssetDbtJobLastRunStartedAt
in interfaceIAsset
-
getAssetDbtJobLastRunStatusMessage
Status message of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunStatusMessage
in interfaceIAsset
-
getAssetDbtJobLastRunTotalDuration
Total duration of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunTotalDuration
in interfaceIAsset
-
getAssetDbtJobLastRunTotalDurationHumanized
Human-readable total duration of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunTotalDurationHumanized
in interfaceIAsset
-
getAssetDbtJobLastRunUpdatedAt
Time (epoch) at which the job that materialized this asset in dbt was last updated, in milliseconds.- Specified by:
getAssetDbtJobLastRunUpdatedAt
in interfaceIAsset
-
getAssetDbtJobLastRunUrl
URL of the last run of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobLastRunUrl
in interfaceIAsset
-
getAssetDbtJobName
Name of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobName
in interfaceIAsset
-
getAssetDbtJobNextRun
Time (epoch) when the next run of the job that materializes this asset in dbt is scheduled.- Specified by:
getAssetDbtJobNextRun
in interfaceIAsset
-
getAssetDbtJobNextRunHumanized
Human-readable time when the next run of the job that materializes this asset in dbt is scheduled.- Specified by:
getAssetDbtJobNextRunHumanized
in interfaceIAsset
-
getAssetDbtJobSchedule
Schedule of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobSchedule
in interfaceIAsset
-
getAssetDbtJobScheduleCronHumanized
Human-readable cron schedule of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobScheduleCronHumanized
in interfaceIAsset
-
getAssetDbtJobStatus
Status of the job that materialized this asset in dbt.- Specified by:
getAssetDbtJobStatus
in interfaceIAsset
-
getAssetDbtMeta
Metadata for this asset in dbt, specifically everything under the 'meta' key in the dbt object.- Specified by:
getAssetDbtMeta
in interfaceIAsset
-
getAssetDbtPackageName
Name of the package in which this asset exists in dbt.- Specified by:
getAssetDbtPackageName
in interfaceIAsset
-
getAssetDbtProjectName
Name of the project in which this asset exists in dbt.- Specified by:
getAssetDbtProjectName
in interfaceIAsset
-
getAssetDbtSemanticLayerProxyUrl
URL of the semantic layer proxy for this asset in dbt.- Specified by:
getAssetDbtSemanticLayerProxyUrl
in interfaceIAsset
-
getAssetDbtSourceFreshnessCriteria
Freshness criteria for the source of this asset in dbt.- Specified by:
getAssetDbtSourceFreshnessCriteria
in interfaceIAsset
-
getAssetDbtTags
List of tags attached to this asset in dbt.- Specified by:
getAssetDbtTags
in interfaceIAsset
-
getAssetDbtTestStatus
All associated dbt test statuses.- Specified by:
getAssetDbtTestStatus
in interfaceIAsset
-
getAssetDbtUniqueId
Unique identifier of this asset in dbt.- Specified by:
getAssetDbtUniqueId
in interfaceIAsset
-
getAssetDbtWorkflowLastUpdated
Name of the DBT workflow in Atlan that last updated the asset.- Specified by:
getAssetDbtWorkflowLastUpdated
in interfaceIAsset
-
getAssetIcon
Name of the icon to use for this asset. (Only applies to glossaries, currently.)- Specified by:
getAssetIcon
in interfaceIAsset
-
getAssetMcAlertQualifiedNames
List of unique Monte Carlo alert names attached to this asset.- Specified by:
getAssetMcAlertQualifiedNames
in interfaceIAsset
-
getAssetMcIncidentNames
List of Monte Carlo incident names attached to this asset.- Specified by:
getAssetMcIncidentNames
in interfaceIAsset
-
getAssetMcIncidentPriorities
List of Monte Carlo incident priorities associated with this asset.- Specified by:
getAssetMcIncidentPriorities
in interfaceIAsset
-
getAssetMcIncidentQualifiedNames
List of unique Monte Carlo incident names attached to this asset.- Specified by:
getAssetMcIncidentQualifiedNames
in interfaceIAsset
-
getAssetMcIncidentSeverities
List of Monte Carlo incident severities associated with this asset.- Specified by:
getAssetMcIncidentSeverities
in interfaceIAsset
-
getAssetMcIncidentStates
List of Monte Carlo incident states associated with this asset.- Specified by:
getAssetMcIncidentStates
in interfaceIAsset
-
getAssetMcIncidentSubTypes
List of Monte Carlo incident sub-types associated with this asset.- Specified by:
getAssetMcIncidentSubTypes
in interfaceIAsset
-
getAssetMcIncidentTypes
List of Monte Carlo incident types associated with this asset.- Specified by:
getAssetMcIncidentTypes
in interfaceIAsset
-
getAssetMcLastSyncRunAt
Time (epoch) at which this asset was last synced from Monte Carlo.- Specified by:
getAssetMcLastSyncRunAt
in interfaceIAsset
-
getAssetMcMonitorNames
List of Monte Carlo monitor names attached to this asset.- Specified by:
getAssetMcMonitorNames
in interfaceIAsset
-
getAssetMcMonitorQualifiedNames
List of unique Monte Carlo monitor names attached to this asset.- Specified by:
getAssetMcMonitorQualifiedNames
in interfaceIAsset
-
getAssetMcMonitorScheduleTypes
Schedules of all associated Monte Carlo monitors.- Specified by:
getAssetMcMonitorScheduleTypes
in interfaceIAsset
-
getAssetMcMonitorStatuses
Statuses of all associated Monte Carlo monitors.- Specified by:
getAssetMcMonitorStatuses
in interfaceIAsset
-
getAssetMcMonitorTypes
Types of all associated Monte Carlo monitors.- Specified by:
getAssetMcMonitorTypes
in interfaceIAsset
-
getAssetPoliciesCount
Count of policies inside the asset- Specified by:
getAssetPoliciesCount
in interfaceIAsset
-
getAssetPolicyGUIDs
Array of policy ids governing this asset- Specified by:
getAssetPolicyGUIDs
in interfaceIAsset
-
getAssetSodaCheckCount
Number of checks done via Soda.- Specified by:
getAssetSodaCheckCount
in interfaceIAsset
-
getAssetSodaCheckStatuses
All associated Soda check statuses.- Specified by:
getAssetSodaCheckStatuses
in interfaceIAsset
-
getAssetSodaDQStatus
Status of data quality from Soda.- Specified by:
getAssetSodaDQStatus
in interfaceIAsset
-
getAssetSodaLastScanAt
TBC- Specified by:
getAssetSodaLastScanAt
in interfaceIAsset
-
getAssetSodaLastSyncRunAt
TBC- Specified by:
getAssetSodaLastSyncRunAt
in interfaceIAsset
-
getAssetSodaSourceURL
TBC- Specified by:
getAssetSodaSourceURL
in interfaceIAsset
-
getAssetTags
List of tags attached to this asset.- Specified by:
getAssetTags
in interfaceIAsset
-
getAssetThemeHex
Color (in hexadecimal RGB) to use to represent this asset.- Specified by:
getAssetThemeHex
in interfaceIAsset
-
getAssignedTerms
Glossary terms that are linked to this asset.- Specified by:
getAssignedTerms
in interfaceIAsset
-
getCertificateStatus
Status of this asset's certification.- Specified by:
getCertificateStatus
in interfaceIAsset
-
getCertificateStatusMessage
Human-readable descriptive message used to provide further detail to certificateStatus.- Specified by:
getCertificateStatusMessage
in interfaceIAsset
-
getCertificateUpdatedAt
Time (epoch) at which the certification was last updated, in milliseconds.- Specified by:
getCertificateUpdatedAt
in interfaceIAsset
-
getCertificateUpdatedBy
Name of the user who last updated the certification of this asset.- Specified by:
getCertificateUpdatedBy
in interfaceIAsset
-
getConnectionName
Simple name of the connection through which this asset is accessible.- Specified by:
getConnectionName
in interfaceIAsset
-
getConnectionQualifiedName
Unique name of the connection through which this asset is accessible.- Specified by:
getConnectionQualifiedName
in interfaceIAsset
-
getConnectorType
Type of the connector through which this asset is accessible.- Specified by:
getConnectorType
in interfaceIAsset
-
getDataContractLatest
Latest version of the data contract (in any status) for this asset.- Specified by:
getDataContractLatest
in interfaceIAsset
-
getDataContractLatestCertified
Latest certified version of the data contract for this asset.- Specified by:
getDataContractLatestCertified
in interfaceIAsset
-
getDbtQualifiedName
Unique name of this asset in dbt.- Specified by:
getDbtQualifiedName
in interfaceIAsset
-
getDescription
Description of this asset, for example as crawled from a source. Fallback for display purposes, if userDescription is empty.- Specified by:
getDescription
in interfaceIAsset
-
getDisplayName
Human-readable name of this asset used for display purposes (in user interface).- Specified by:
getDisplayName
in interfaceIAsset
-
getDomainGUIDs
Array of domain guids linked to this asset- Specified by:
getDomainGUIDs
in interfaceIAsset
-
getFiles
TBC -
getHasContract
Whether this asset has contract (true) or not (false).- Specified by:
getHasContract
in interfaceIAsset
-
getHasLineage
Whether this asset has lineage (true) or not (false).- Specified by:
getHasLineage
in interfaceIAsset
-
getInputPortDataProducts
Data products for which this asset is an input port.- Specified by:
getInputPortDataProducts
in interfaceIAsset
-
getIsAIGenerated
TBC- Specified by:
getIsAIGenerated
in interfaceIAsset
-
getIsDiscoverable
Whether this asset is discoverable through the UI (true) or not (false).- Specified by:
getIsDiscoverable
in interfaceIAsset
-
getIsEditable
Whether this asset can be edited in the UI (true) or not (false).- Specified by:
getIsEditable
in interfaceIAsset
-
getIsPartial
TBC- Specified by:
getIsPartial
in interfaceIAsset
-
getLastRowChangedAt
Time (epoch) of the last operation that inserted, updated, or deleted rows, in milliseconds.- Specified by:
getLastRowChangedAt
in interfaceIAsset
-
getLastSyncRun
Name of the last run of the crawler that last synchronized this asset.- Specified by:
getLastSyncRun
in interfaceIAsset
-
getLastSyncRunAt
Time (epoch) at which this asset was last crawled, in milliseconds.- Specified by:
getLastSyncRunAt
in interfaceIAsset
-
getLastSyncWorkflowName
Name of the crawler that last synchronized this asset.- Specified by:
getLastSyncWorkflowName
in interfaceIAsset
-
getLexicographicalSortOrder
Custom order for sorting purpose, managed by client- Specified by:
getLexicographicalSortOrder
in interfaceIAsset
-
getLinks
Links that are attached to this asset. -
getMcIncidents
TBC- Specified by:
getMcIncidents
in interfaceIAsset
-
getMcMonitors
Monitors that observe this asset.- Specified by:
getMcMonitors
in interfaceIAsset
-
getMetrics
TBC- Specified by:
getMetrics
in interfaceIAsset
-
getName
Name of this asset. Fallback for display purposes, if displayName is empty. -
getNonCompliantAssetPolicyGUIDs
Array of policy ids non-compliant to this asset- Specified by:
getNonCompliantAssetPolicyGUIDs
in interfaceIAsset
-
getOutputPortDataProducts
Data products for which this asset is an output port.- Specified by:
getOutputPortDataProducts
in interfaceIAsset
-
getOwnerGroups
List of groups who own this asset.- Specified by:
getOwnerGroups
in interfaceIAsset
-
getOwnerUsers
List of users who own this asset.- Specified by:
getOwnerUsers
in interfaceIAsset
-
getPopularityScore
Popularity score for this asset.- Specified by:
getPopularityScore
in interfaceIAsset
-
getReadme
README that is linked to this asset. -
getSampleDataUrl
URL for sample data for this asset.- Specified by:
getSampleDataUrl
in interfaceIAsset
-
getSchemaRegistrySubjects
TBC- Specified by:
getSchemaRegistrySubjects
in interfaceIAsset
-
getSodaChecks
TBC- Specified by:
getSodaChecks
in interfaceIAsset
-
getSourceCostUnit
The unit of measure for sourceTotalCost.- Specified by:
getSourceCostUnit
in interfaceIAsset
-
getSourceCreatedAt
Time (epoch) at which this asset was created in the source system, in milliseconds.- Specified by:
getSourceCreatedAt
in interfaceIAsset
-
getSourceCreatedBy
Name of the user who created this asset, in the source system.- Specified by:
getSourceCreatedBy
in interfaceIAsset
-
getSourceEmbedURL
URL to create an embed for a resource (for example, an image of a dashboard) within Atlan.- Specified by:
getSourceEmbedURL
in interfaceIAsset
-
getSourceLastReadAt
Timestamp of most recent read operation.- Specified by:
getSourceLastReadAt
in interfaceIAsset
-
getSourceOwners
List of owners of this asset, in the source system.- Specified by:
getSourceOwners
in interfaceIAsset
-
getSourceQueryComputeCostRecords
List of most expensive warehouses with extra insights.- Specified by:
getSourceQueryComputeCostRecords
in interfaceIAsset
-
getSourceQueryComputeCosts
List of most expensive warehouse names.- Specified by:
getSourceQueryComputeCosts
in interfaceIAsset
-
getSourceReadCount
Total count of all read operations at source.- Specified by:
getSourceReadCount
in interfaceIAsset
-
getSourceReadExpensiveQueryRecords
List of the most expensive queries that accessed this asset.- Specified by:
getSourceReadExpensiveQueryRecords
in interfaceIAsset
-
getSourceReadPopularQueryRecords
List of the most popular queries that accessed this asset.- Specified by:
getSourceReadPopularQueryRecords
in interfaceIAsset
-
getSourceReadQueryCost
Total cost of read queries at source.- Specified by:
getSourceReadQueryCost
in interfaceIAsset
-
getSourceReadRecentUserRecords
List of usernames with extra insights for the most recent users who read this asset.- Specified by:
getSourceReadRecentUserRecords
in interfaceIAsset
-
getSourceReadRecentUsers
List of usernames of the most recent users who read this asset.- Specified by:
getSourceReadRecentUsers
in interfaceIAsset
-
getSourceReadSlowQueryRecords
List of the slowest queries that accessed this asset.- Specified by:
getSourceReadSlowQueryRecords
in interfaceIAsset
-
getSourceReadTopUserRecords
List of usernames with extra insights for the users who read this asset the most.- Specified by:
getSourceReadTopUserRecords
in interfaceIAsset
-
getSourceReadTopUsers
List of usernames of the users who read this asset the most.- Specified by:
getSourceReadTopUsers
in interfaceIAsset
-
getSourceReadUserCount
Total number of unique users that read data from asset.- Specified by:
getSourceReadUserCount
in interfaceIAsset
-
getSourceTotalCost
Total cost of all operations at source.- Specified by:
getSourceTotalCost
in interfaceIAsset
-
getSourceURL
URL to the resource within the source application, used to create a button to view this asset in the source application.- Specified by:
getSourceURL
in interfaceIAsset
-
getSourceUpdatedAt
Time (epoch) at which this asset was last updated in the source system, in milliseconds.- Specified by:
getSourceUpdatedAt
in interfaceIAsset
-
getSourceUpdatedBy
Name of the user who last updated this asset, in the source system.- Specified by:
getSourceUpdatedBy
in interfaceIAsset
-
getStarredBy
Users who have starred this asset.- Specified by:
getStarredBy
in interfaceIAsset
-
getStarredCount
Number of users who have starred this asset.- Specified by:
getStarredCount
in interfaceIAsset
-
getStarredDetails
List of usernames with extra information of the users who have starred an asset.- Specified by:
getStarredDetails
in interfaceIAsset
-
getSubType
Subtype of this asset.- Specified by:
getSubType
in interfaceIAsset
-
getTenantId
Name of the Atlan workspace in which this asset exists.- Specified by:
getTenantId
in interfaceIAsset
-
getUserDefRelationshipFroms
TBC- Specified by:
getUserDefRelationshipFroms
in interfaceIAsset
-
getUserDefRelationshipTos
TBC- Specified by:
getUserDefRelationshipTos
in interfaceIAsset
-
getUserDescription
Description of this asset, as provided by a user. If present, this will be used for the description in user interface.- Specified by:
getUserDescription
in interfaceIAsset
-
getViewScore
View score for this asset.- Specified by:
getViewScore
in interfaceIAsset
-
getViewerGroups
List of groups who can view assets contained in a collection. (This is only used for certain asset types.)- Specified by:
getViewerGroups
in interfaceIAsset
-
getViewerUsers
List of users who can view assets contained in a collection. (This is only used for certain asset types.)- Specified by:
getViewerUsers
in interfaceIAsset
-
getAtlanTags
Atlan tags assigned to the asset.- Specified by:
getAtlanTags
in interfaceIReferenceable
-
getCustomMetadataSets
Map of custom metadata attributes and values defined on the asset. The map is keyed by the human-readable name of the custom metadata set, and the values are a further mapping from human-readable attribute name to the value for that attribute on this asset.- Specified by:
getCustomMetadataSets
in interfaceIReferenceable
-
getStatus
Status of the asset.- Specified by:
getStatus
in interfaceIReferenceable
-
getCreatedBy
User or account that created the asset.- Specified by:
getCreatedBy
in interfaceIReferenceable
-
getUpdatedBy
User or account that last updated the asset.- Specified by:
getUpdatedBy
in interfaceIReferenceable
-
getCreateTime
Time (epoch) at which the asset was created, in milliseconds.- Specified by:
getCreateTime
in interfaceIReferenceable
-
getUpdateTime
Time (epoch) at which the asset was last updated, in milliseconds.- Specified by:
getUpdateTime
in interfaceIReferenceable
-
getDeleteHandler
Details on the handler used for deletion of the asset.- Specified by:
getDeleteHandler
in interfaceIReferenceable
-
getDepth
Depth of this asset within lineage. Note: this will only be available in assets retrieved via lineage, and will vary even for the same asset depending on the starting point of the lineage requested. -
getImmediateUpstream
Reference details about the asset(s) that are immediately upstream of this asset within lineage. Note: this will only be available in assets retrieved via lineage whenimmediateNeighbors
is true, and could vary even for the same asset depending on the starting point and depth of the lineage requested. -
getImmediateDownstream
Reference details about the asset(s) that are immediately downstream of this asset within lineage. Note: this will only be available in assets retrieved via lineage whenimmediateNeighbors
is true, and could vary even for the same asset depending on the starting point and depth of the lineage requested. -
getAtlanTagNames
Deprecated.The names of the Atlan tags that exist on the asset. This is not always returned, even by full retrieval operations. It is better to depend on the detailed values in the Atlan tags property.- Specified by:
getAtlanTagNames
in interfaceIReferenceable
- See Also:
-
atlanTags
-
getIsIncomplete
Unused.- Specified by:
getIsIncomplete
in interfaceIReferenceable
-
getMeaningNames
Names of terms that have been linked to this asset.- Specified by:
getMeaningNames
in interfaceIReferenceable
-
getMeanings
Deprecated.seeassignedTerms
insteadDetails of terms that have been linked to this asset. This is not set by all API endpoints, so cannot be relied upon in general, even when there are terms assigned to an asset.- Specified by:
getMeanings
in interfaceIReferenceable
-
getPendingTasks
Unique identifiers (GUIDs) for any background tasks that are yet to operate on this asset.- Specified by:
getPendingTasks
in interfaceIReferenceable
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
Description copied from class:AtlanObject
-
assignedTerms
instead