Package com.atlan.model.assets
Class AtlanCollection
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.relations.Reference
com.atlan.model.assets.Asset
com.atlan.model.assets.AtlanCollection
- All Implemented Interfaces:
IAsset
,IAtlanCollection
,INamespace
,IReferenceable
,AuditDetail
,Serializable
,Comparable<Reference>
@Generated("com.atlan.generators.ModelGeneratorV2")
public class AtlanCollection
extends Asset
implements IAtlanCollection, INamespace, IAsset, IReferenceable
Instance of a query collection in Atlan.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
AtlanCollection.AtlanCollectionBuilder<C extends AtlanCollection,
B extends AtlanCollection.AtlanCollectionBuilder<C, B>> Nested classes/interfaces inherited from class com.atlan.model.assets.Asset
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.IAtlanCollection
ICON, ICON_TYPE
Fields inherited from interface com.atlan.model.assets.INamespace
CHILDREN_FOLDERS, CHILDREN_QUERIES
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, UPDATE_TIME, UPDATED_BY
-
Constructor Summary
ModifierConstructorDescriptionprotected
-
Method Summary
Modifier and TypeMethodDescriptionstatic AtlanCollection.AtlanCollectionBuilder<?,
?> addApiTokenAsAdmin
(String impersonationToken) Add the API token configured for the default client as an admin for this AtlanCollection.addApiTokenAsViewer
(String impersonationToken) Add the API token configured for the default client as a viewer for this AtlanCollection.static AtlanCollection
appendAtlanTags
(AtlanClient client, String qualifiedName, List<String> atlanTagNames) Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection.static AtlanCollection
appendAtlanTags
(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection.static AtlanCollection
appendAtlanTags
(String qualifiedName, List<String> atlanTagNames) Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection.static AtlanCollection
appendAtlanTags
(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection.static AtlanCollection
appendTerms
(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) Link additional terms to the AtlanCollection, without replacing existing terms linked to the AtlanCollection.static AtlanCollection
appendTerms
(String qualifiedName, List<IGlossaryTerm> terms) Link additional terms to the AtlanCollection, without replacing existing terms linked to the AtlanCollection.protected boolean
static AtlanCollection.AtlanCollectionBuilder<?,
?> creator
(AtlanClient client, String name) Builds the minimal object necessary to create an AltanCollection.boolean
static List<AtlanCollection>
findByName
(AtlanClient client, String name) Find a collection by its human-readable name.static List<AtlanCollection>
findByName
(AtlanClient client, String name, Collection<String> attributes) Find a collection by its human-readable name.static List<AtlanCollection>
findByName
(AtlanClient client, String name, List<AtlanField> attributes) Find a collection by its human-readable name.static List<AtlanCollection>
findByName
(String name) Find a collection by its human-readable name.static List<AtlanCollection>
findByName
(String name, Collection<String> attributes) Find a collection by its human-readable name.static List<AtlanCollection>
findByName
(String name, List<AtlanField> attributes) Find a collection by its human-readable name.static String
generateQualifiedName
(AtlanClient client) Generate a unique AltanCollection name.static AtlanCollection
get
(AtlanClient client, String id) Retrieves a AtlanCollection by one of its identifiers, complete with all of its relationships.static AtlanCollection
get
(AtlanClient client, String id, boolean includeRelationships) Retrieves a AtlanCollection by one of its identifiers, optionally complete with all of its relationships.static AtlanCollection
Retrieves a AtlanCollection by one of its identifiers, complete with all of its relationships.TBCTBCgetIcon()
TBCTBCFixed typeName for AtlanCollections.int
hashCode()
static AtlanCollection
Reference to a AtlanCollection by GUID.static AtlanCollection
refByGuid
(String guid, Reference.SaveSemantic semantic) Reference to a AtlanCollection by GUID.static AtlanCollection
refByQualifiedName
(String qualifiedName) Reference to a AtlanCollection by qualifiedName.static AtlanCollection
refByQualifiedName
(String qualifiedName, Reference.SaveSemantic semantic) Reference to a AtlanCollection by qualifiedName.static AtlanCollection
removeAnnouncement
(AtlanClient client, String qualifiedName, String name) Remove the announcement from a AtlanCollection.static AtlanCollection
removeAnnouncement
(String qualifiedName, String name) Remove the announcement from a AtlanCollection.static void
removeAtlanTag
(AtlanClient client, String qualifiedName, String atlanTagName) Remove an Atlan tag from a AtlanCollection.static void
removeAtlanTag
(String qualifiedName, String atlanTagName) Remove an Atlan tag from a AtlanCollection.static AtlanCollection
removeCertificate
(AtlanClient client, String qualifiedName, String name) Remove the certificate from a AtlanCollection.static AtlanCollection
removeCertificate
(String qualifiedName, String name) Remove the certificate from a AtlanCollection.static AtlanCollection
removeDescription
(AtlanClient client, String qualifiedName, String name) Remove the system description from a AtlanCollection.static AtlanCollection
removeDescription
(String qualifiedName, String name) Remove the system description from a AtlanCollection.static AtlanCollection
removeOwners
(AtlanClient client, String qualifiedName, String name) Remove the owners from a AtlanCollection.static AtlanCollection
removeOwners
(String qualifiedName, String name) Remove the owners from a AtlanCollection.static AtlanCollection
removeTerms
(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) Remove terms from a AtlanCollection, without replacing all existing terms linked to the AtlanCollection.static AtlanCollection
removeTerms
(String qualifiedName, List<IGlossaryTerm> terms) Remove terms from a AtlanCollection, without replacing all existing terms linked to the AtlanCollection.static AtlanCollection
removeUserDescription
(AtlanClient client, String qualifiedName, String name) Remove the user's description from a AtlanCollection.static AtlanCollection
removeUserDescription
(String qualifiedName, String name) Remove the user's description from a AtlanCollection.static AtlanCollection
replaceTerms
(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) Replace the terms linked to the AtlanCollection.static AtlanCollection
replaceTerms
(String qualifiedName, String name, List<IGlossaryTerm> terms) Replace the terms linked to the AtlanCollection.static boolean
restore
(AtlanClient client, String qualifiedName) Restore the archived (soft-deleted) AtlanCollection to active.static boolean
Restore the archived (soft-deleted) AtlanCollection 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.static FluentSearch.FluentSearchBuilder<?,
?> select()
Start a fluent search that will return all AtlanCollection assets.static FluentSearch.FluentSearchBuilder<?,
?> select
(boolean includeArchived) Start a fluent search that will return all AtlanCollection assets.static FluentSearch.FluentSearchBuilder<?,
?> select
(AtlanClient client) Start a fluent search that will return all AtlanCollection assets.static FluentSearch.FluentSearchBuilder<?,
?> select
(AtlanClient client, boolean includeArchived) Start a fluent search that will return all AtlanCollection assets.toString()
Builds the minimal object necessary to create a relationship to a AtlanCollection, from a potentially more-complete AtlanCollection object.Builds the minimal object necessary to apply an update to a AtlanCollection, from a potentially more-complete AtlanCollection object.static AtlanCollection
updateAnnouncement
(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) Update the announcement on a AtlanCollection.static AtlanCollection
updateAnnouncement
(String qualifiedName, AtlanAnnouncementType type, String title, String message) Update the announcement on a AtlanCollection.static AtlanCollection
updateCertificate
(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) Update the certificate on a AtlanCollection.static AtlanCollection
updateCertificate
(String qualifiedName, CertificateStatus certificate, String message) Update the certificate on a AtlanCollection.static AtlanCollection.AtlanCollectionBuilder<?,
?> Builds the minimal object necessary to update a AtlanCollection.Methods inherited from class com.atlan.model.assets.Asset
addApiTokenAsAdmin, appendAtlanTags, appendAtlanTags, appendTerms, delete, delete, get, getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getAssetAnomaloAppliedCheckTypes, getAssetAnomaloCheckCount, getAssetAnomaloCheckStatuses, getAssetAnomaloDQStatus, getAssetAnomaloFailedCheckCount, getAssetAnomaloFailedCheckTypes, getAssetAnomaloLastCheckRunAt, getAssetAnomaloSourceUrl, getAssetCoverImage, getAssetDbtAccountName, getAssetDbtAlias, getAssetDbtEnvironmentDbtVersion, getAssetDbtEnvironmentName, getAssetDbtJobLastRun, getAssetDbtJobLastRunArtifactS3Path, getAssetDbtJobLastRunArtifactsSaved, getAssetDbtJobLastRunCreatedAt, getAssetDbtJobLastRunDequedAt, getAssetDbtJobLastRunExecutedByThreadId, getAssetDbtJobLastRunGitBranch, getAssetDbtJobLastRunGitSha, getAssetDbtJobLastRunHasDocsGenerated, getAssetDbtJobLastRunHasSourcesGenerated, getAssetDbtJobLastRunNotificationsSent, getAssetDbtJobLastRunOwnerThreadId, getAssetDbtJobLastRunQueuedDuration, getAssetDbtJobLastRunQueuedDurationHumanized, getAssetDbtJobLastRunRunDuration, getAssetDbtJobLastRunRunDurationHumanized, getAssetDbtJobLastRunStartedAt, getAssetDbtJobLastRunStatusMessage, getAssetDbtJobLastRunTotalDuration, getAssetDbtJobLastRunTotalDurationHumanized, getAssetDbtJobLastRunUpdatedAt, getAssetDbtJobLastRunUrl, getAssetDbtJobName, getAssetDbtJobNextRun, getAssetDbtJobNextRunHumanized, getAssetDbtJobSchedule, getAssetDbtJobScheduleCronHumanized, getAssetDbtJobStatus, getAssetDbtMeta, getAssetDbtPackageName, getAssetDbtProjectName, getAssetDbtSemanticLayerProxyUrl, getAssetDbtSourceFreshnessCriteria, getAssetDbtTags, getAssetDbtTestStatus, getAssetDbtUniqueId, getAssetDbtWorkflowLastUpdated, getAssetIcon, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetTags, getAssetThemeHex, getAssignedTerms, getAtlanTagNames, getAtlanTags, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorType, getCreatedBy, getCreateTime, getCustomMetadata, getCustomMetadataSets, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDeleteHandler, getDepth, getDescription, getDisplayName, getDomainGUIDs, getFiles, getHasContract, getHasLineage, getImmediateDownstream, getImmediateUpstream, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsIncomplete, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMeaningNames, getMeanings, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getNullFields, getOutputPortDataProducts, getOwnerGroups, getOwnerUsers, getPendingTasks, getPopularityScore, getQualifiedName, getReadme, getSampleDataUrl, getSchemaRegistrySubjects, getSodaChecks, getSourceCostUnit, getSourceCreatedAt, getSourceCreatedBy, getSourceEmbedURL, getSourceLastReadAt, getSourceOwners, getSourceQueryComputeCostRecords, getSourceQueryComputeCosts, getSourceReadCount, getSourceReadExpensiveQueryRecords, getSourceReadPopularQueryRecords, getSourceReadQueryCost, getSourceReadRecentUserRecords, getSourceReadRecentUsers, getSourceReadSlowQueryRecords, getSourceReadTopUserRecords, getSourceReadTopUsers, getSourceReadUserCount, getSourceTotalCost, getSourceUpdatedAt, getSourceUpdatedBy, getSourceURL, getStarredBy, getStarredCount, getStarredDetails, getStatus, getSubType, getTenantId, getUpdatedBy, getUpdateTime, getUserDefRelationshipFroms, getUserDefRelationshipTos, getUserDescription, getViewerGroups, getViewerUsers, getViewScore, lineage, lineage, lineage, lineage, purge, purge, removeAnnouncement, removeAtlanTag, removeCertificate, removeCustomMetadata, removeCustomMetadata, removeDescription, removeOwners, removeTerms, removeUserDescription, replaceCustomMetadata, replaceCustomMetadata, replaceTerms, requestLineage, requestLineage, restore, saveMergingCM, saveMergingCM, saveReplacingCM, saveReplacingCM, updateAnnouncement, updateAnnouncement, updateCertificate, updateCertificate, updateCustomMetadataAttributes, updateCustomMetadataAttributes, updateMergingCM, updateMergingCM, updateReplacingCM, updateReplacingCM
Methods inherited from class com.atlan.model.relations.Reference
builder, by, compareTo, getCompleteObject, getCustomAttributes, getDisplayText, getEntityStatus, getGuid, getLabels, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getSemantic, getUniqueAttributes, isComplete, isValidReference, isValidReferenceByGuid, isValidReferenceByQualifiedName, setCompleteObject, to, 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
getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getAssetAnomaloAppliedCheckTypes, getAssetAnomaloCheckCount, getAssetAnomaloCheckStatuses, getAssetAnomaloDQStatus, getAssetAnomaloFailedCheckCount, getAssetAnomaloFailedCheckTypes, getAssetAnomaloLastCheckRunAt, getAssetAnomaloSourceUrl, getAssetCoverImage, getAssetDbtAccountName, getAssetDbtAlias, getAssetDbtEnvironmentDbtVersion, getAssetDbtEnvironmentName, getAssetDbtJobLastRun, getAssetDbtJobLastRunArtifactS3Path, getAssetDbtJobLastRunArtifactsSaved, getAssetDbtJobLastRunCreatedAt, getAssetDbtJobLastRunDequedAt, getAssetDbtJobLastRunExecutedByThreadId, getAssetDbtJobLastRunGitBranch, getAssetDbtJobLastRunGitSha, getAssetDbtJobLastRunHasDocsGenerated, getAssetDbtJobLastRunHasSourcesGenerated, getAssetDbtJobLastRunNotificationsSent, getAssetDbtJobLastRunOwnerThreadId, getAssetDbtJobLastRunQueuedDuration, getAssetDbtJobLastRunQueuedDurationHumanized, getAssetDbtJobLastRunRunDuration, getAssetDbtJobLastRunRunDurationHumanized, getAssetDbtJobLastRunStartedAt, getAssetDbtJobLastRunStatusMessage, getAssetDbtJobLastRunTotalDuration, getAssetDbtJobLastRunTotalDurationHumanized, getAssetDbtJobLastRunUpdatedAt, getAssetDbtJobLastRunUrl, getAssetDbtJobName, getAssetDbtJobNextRun, getAssetDbtJobNextRunHumanized, getAssetDbtJobSchedule, getAssetDbtJobScheduleCronHumanized, getAssetDbtJobStatus, getAssetDbtMeta, getAssetDbtPackageName, getAssetDbtProjectName, getAssetDbtSemanticLayerProxyUrl, getAssetDbtSourceFreshnessCriteria, getAssetDbtTags, getAssetDbtTestStatus, getAssetDbtUniqueId, getAssetDbtWorkflowLastUpdated, getAssetIcon, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetTags, getAssetThemeHex, getAssignedTerms, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorType, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDescription, getDisplayName, getDisplayText, getDomainGUIDs, getEntityStatus, getFiles, getGuid, getHasContract, getHasLineage, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getOutputPortDataProducts, getOwnerGroups, getOwnerUsers, getPopularityScore, getQualifiedName, getReadme, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getSampleDataUrl, getSchemaRegistrySubjects, getSodaChecks, getSourceCostUnit, getSourceCreatedAt, getSourceCreatedBy, getSourceEmbedURL, getSourceLastReadAt, getSourceOwners, getSourceQueryComputeCostRecords, getSourceQueryComputeCosts, getSourceReadCount, getSourceReadExpensiveQueryRecords, getSourceReadPopularQueryRecords, getSourceReadQueryCost, getSourceReadRecentUserRecords, getSourceReadRecentUsers, getSourceReadSlowQueryRecords, getSourceReadTopUserRecords, getSourceReadTopUsers, getSourceReadUserCount, getSourceTotalCost, getSourceUpdatedAt, getSourceUpdatedBy, getSourceURL, getStarredBy, getStarredCount, getStarredDetails, getSubType, getTenantId, getUniqueAttributes, getUserDefRelationshipFroms, getUserDefRelationshipTos, getUserDescription, getViewerGroups, getViewerUsers, getViewScore, isComplete, isValidReferenceByGuid, isValidReferenceByQualifiedName
Methods inherited from interface com.atlan.model.assets.IAtlanCollection
getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getAssetAnomaloAppliedCheckTypes, getAssetAnomaloCheckCount, getAssetAnomaloCheckStatuses, getAssetAnomaloDQStatus, getAssetAnomaloFailedCheckCount, getAssetAnomaloFailedCheckTypes, getAssetAnomaloLastCheckRunAt, getAssetAnomaloSourceUrl, getAssetCoverImage, getAssetDbtAccountName, getAssetDbtAlias, getAssetDbtEnvironmentDbtVersion, getAssetDbtEnvironmentName, getAssetDbtJobLastRun, getAssetDbtJobLastRunArtifactS3Path, getAssetDbtJobLastRunArtifactsSaved, getAssetDbtJobLastRunCreatedAt, getAssetDbtJobLastRunDequedAt, getAssetDbtJobLastRunExecutedByThreadId, getAssetDbtJobLastRunGitBranch, getAssetDbtJobLastRunGitSha, getAssetDbtJobLastRunHasDocsGenerated, getAssetDbtJobLastRunHasSourcesGenerated, getAssetDbtJobLastRunNotificationsSent, getAssetDbtJobLastRunOwnerThreadId, getAssetDbtJobLastRunQueuedDuration, getAssetDbtJobLastRunQueuedDurationHumanized, getAssetDbtJobLastRunRunDuration, getAssetDbtJobLastRunRunDurationHumanized, getAssetDbtJobLastRunStartedAt, getAssetDbtJobLastRunStatusMessage, getAssetDbtJobLastRunTotalDuration, getAssetDbtJobLastRunTotalDurationHumanized, getAssetDbtJobLastRunUpdatedAt, getAssetDbtJobLastRunUrl, getAssetDbtJobName, getAssetDbtJobNextRun, getAssetDbtJobNextRunHumanized, getAssetDbtJobSchedule, getAssetDbtJobScheduleCronHumanized, getAssetDbtJobStatus, getAssetDbtMeta, getAssetDbtPackageName, getAssetDbtProjectName, getAssetDbtSemanticLayerProxyUrl, getAssetDbtSourceFreshnessCriteria, getAssetDbtTags, getAssetDbtTestStatus, getAssetDbtUniqueId, getAssetDbtWorkflowLastUpdated, getAssetIcon, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetTags, getAssetThemeHex, getAssignedTerms, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorType, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDescription, getDisplayName, getDisplayText, getDomainGUIDs, getEntityStatus, getFiles, getGuid, getHasContract, getHasLineage, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getOutputPortDataProducts, getOwnerGroups, getOwnerUsers, getPopularityScore, getQualifiedName, getReadme, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getSampleDataUrl, getSchemaRegistrySubjects, getSodaChecks, getSourceCostUnit, getSourceCreatedAt, getSourceCreatedBy, getSourceEmbedURL, getSourceLastReadAt, getSourceOwners, getSourceQueryComputeCostRecords, getSourceQueryComputeCosts, getSourceReadCount, getSourceReadExpensiveQueryRecords, getSourceReadPopularQueryRecords, getSourceReadQueryCost, getSourceReadRecentUserRecords, getSourceReadRecentUsers, getSourceReadSlowQueryRecords, getSourceReadTopUserRecords, getSourceReadTopUsers, getSourceReadUserCount, getSourceTotalCost, getSourceUpdatedAt, getSourceUpdatedBy, getSourceURL, getStarredBy, getStarredCount, getStarredDetails, getSubType, getTenantId, getUniqueAttributes, getUserDefRelationshipFroms, getUserDefRelationshipTos, getUserDescription, getViewerGroups, getViewerUsers, getViewScore, isComplete, isValidReferenceByGuid, isValidReferenceByQualifiedName
Methods inherited from interface com.atlan.model.assets.INamespace
getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getAssetAnomaloAppliedCheckTypes, getAssetAnomaloCheckCount, getAssetAnomaloCheckStatuses, getAssetAnomaloDQStatus, getAssetAnomaloFailedCheckCount, getAssetAnomaloFailedCheckTypes, getAssetAnomaloLastCheckRunAt, getAssetAnomaloSourceUrl, getAssetCoverImage, getAssetDbtAccountName, getAssetDbtAlias, getAssetDbtEnvironmentDbtVersion, getAssetDbtEnvironmentName, getAssetDbtJobLastRun, getAssetDbtJobLastRunArtifactS3Path, getAssetDbtJobLastRunArtifactsSaved, getAssetDbtJobLastRunCreatedAt, getAssetDbtJobLastRunDequedAt, getAssetDbtJobLastRunExecutedByThreadId, getAssetDbtJobLastRunGitBranch, getAssetDbtJobLastRunGitSha, getAssetDbtJobLastRunHasDocsGenerated, getAssetDbtJobLastRunHasSourcesGenerated, getAssetDbtJobLastRunNotificationsSent, getAssetDbtJobLastRunOwnerThreadId, getAssetDbtJobLastRunQueuedDuration, getAssetDbtJobLastRunQueuedDurationHumanized, getAssetDbtJobLastRunRunDuration, getAssetDbtJobLastRunRunDurationHumanized, getAssetDbtJobLastRunStartedAt, getAssetDbtJobLastRunStatusMessage, getAssetDbtJobLastRunTotalDuration, getAssetDbtJobLastRunTotalDurationHumanized, getAssetDbtJobLastRunUpdatedAt, getAssetDbtJobLastRunUrl, getAssetDbtJobName, getAssetDbtJobNextRun, getAssetDbtJobNextRunHumanized, getAssetDbtJobSchedule, getAssetDbtJobScheduleCronHumanized, getAssetDbtJobStatus, getAssetDbtMeta, getAssetDbtPackageName, getAssetDbtProjectName, getAssetDbtSemanticLayerProxyUrl, getAssetDbtSourceFreshnessCriteria, getAssetDbtTags, getAssetDbtTestStatus, getAssetDbtUniqueId, getAssetDbtWorkflowLastUpdated, getAssetIcon, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetTags, getAssetThemeHex, getAssignedTerms, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorType, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDescription, getDisplayName, getDisplayText, getDomainGUIDs, getEntityStatus, getFiles, getGuid, getHasContract, getHasLineage, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getOutputPortDataProducts, getOwnerGroups, getOwnerUsers, getPopularityScore, getQualifiedName, getReadme, getRelationshipAttributes, getRelationshipGuid, getRelationshipStatus, getRelationshipType, getSampleDataUrl, getSchemaRegistrySubjects, getSodaChecks, getSourceCostUnit, getSourceCreatedAt, getSourceCreatedBy, getSourceEmbedURL, getSourceLastReadAt, getSourceOwners, getSourceQueryComputeCostRecords, getSourceQueryComputeCosts, getSourceReadCount, getSourceReadExpensiveQueryRecords, getSourceReadPopularQueryRecords, getSourceReadQueryCost, getSourceReadRecentUserRecords, getSourceReadRecentUsers, getSourceReadSlowQueryRecords, getSourceReadTopUserRecords, getSourceReadTopUsers, getSourceReadUserCount, getSourceTotalCost, getSourceUpdatedAt, getSourceUpdatedBy, getSourceURL, getStarredBy, getStarredCount, getStarredDetails, getSubType, getTenantId, getUniqueAttributes, getUserDefRelationshipFroms, getUserDefRelationshipTos, getUserDescription, getViewerGroups, getViewerUsers, getViewScore, isComplete, isValidReferenceByGuid, isValidReferenceByQualifiedName
Methods inherited from interface com.atlan.model.assets.IReferenceable
getAtlanTagNames, getAtlanTags, getCreatedBy, getCreateTime, getCustomMetadataSets, getDeleteHandler, getGuid, getIsIncomplete, getMeaningNames, getMeanings, getPendingTasks, getQualifiedName, getStatus, getUpdatedBy, getUpdateTime
-
Field Details
-
TYPE_NAME
- See Also:
-
-
Constructor Details
-
AtlanCollection
-
-
Method Details
-
trimToReference
Builds the minimal object necessary to create a relationship to a AtlanCollection, from a potentially more-complete AtlanCollection object.- Overrides:
trimToReference
in classAsset
- Returns:
- the minimal object necessary to relate to the AtlanCollection
- Throws:
InvalidRequestException
- if any of the minimal set of required properties for a AtlanCollection relationship are not found in the initial object
-
select
Start a fluent search that will return all AtlanCollection assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) AtlanCollection assets will be included.- Returns:
- a fluent search that includes all AtlanCollection assets
-
select
Start a fluent search that will return all AtlanCollection assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval. Only active (non-archived) AtlanCollection assets will be included.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assets- Returns:
- a fluent search that includes all AtlanCollection assets
-
select
Start a fluent search that will return all AtlanCollection assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.- Parameters:
includeArchived
- when true, archived (soft-deleted) AtlanCollections will be included- Returns:
- a fluent search that includes all AtlanCollection assets
-
select
public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived) Start a fluent search that will return all AtlanCollection assets. Additional conditions can be chained onto the returned search before any asset retrieval is attempted, ensuring all conditions are pushed-down for optimal retrieval.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assetsincludeArchived
- when true, archived (soft-deleted) AtlanCollections will be included- Returns:
- a fluent search that includes all AtlanCollection assets
-
refByGuid
Reference to a AtlanCollection by GUID. Use this to create a relationship to this AtlanCollection, where the relationship should be replaced.- Parameters:
guid
- the GUID of the AtlanCollection to reference- Returns:
- reference to a AtlanCollection that can be used for defining a relationship to a AtlanCollection
-
refByGuid
Reference to a AtlanCollection by GUID. Use this to create a relationship to this AtlanCollection, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).- Parameters:
guid
- the GUID of the AtlanCollection to referencesemantic
- how to save this relationship (replace all with this, append it, or remove it)- Returns:
- reference to a AtlanCollection that can be used for defining a relationship to a AtlanCollection
-
refByQualifiedName
Reference to a AtlanCollection by qualifiedName. Use this to create a relationship to this AtlanCollection, where the relationship should be replaced.- Parameters:
qualifiedName
- the qualifiedName of the AtlanCollection to reference- Returns:
- reference to a AtlanCollection that can be used for defining a relationship to a AtlanCollection
-
refByQualifiedName
public static AtlanCollection refByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) Reference to a AtlanCollection by qualifiedName. Use this to create a relationship to this AtlanCollection, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).- Parameters:
qualifiedName
- the qualifiedName of the AtlanCollection to referencesemantic
- how to save this relationship (replace all with this, append it, or remove it)- Returns:
- reference to a AtlanCollection that can be used for defining a relationship to a AtlanCollection
-
get
Retrieves a AtlanCollection by one of its identifiers, complete with all of its relationships.- Parameters:
id
- of the AtlanCollection to retrieve, either its GUID or its full qualifiedName- Returns:
- the requested full AtlanCollection, complete with all of its relationships
- Throws:
AtlanException
- on any error during the API invocation, such as theNotFoundException
if the AtlanCollection does not exist or the provided GUID is not a AtlanCollection
-
get
Retrieves a AtlanCollection by one of its identifiers, complete with all of its relationships.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assetid
- of the AtlanCollection to retrieve, either its GUID or its full qualifiedName- Returns:
- the requested full AtlanCollection, complete with all of its relationships
- Throws:
AtlanException
- on any error during the API invocation, such as theNotFoundException
if the AtlanCollection does not exist or the provided GUID is not a AtlanCollection
-
get
public static AtlanCollection get(AtlanClient client, String id, boolean includeRelationships) throws AtlanException Retrieves a AtlanCollection by one of its identifiers, optionally complete with all of its relationships.- Parameters:
client
- connectivity to the Atlan tenant from which to retrieve the assetid
- of the AtlanCollection to retrieve, either its GUID or its full qualifiedNameincludeRelationships
- if true, all of the asset's relationships will also be retrieved; if false, no relationships will be retrieved- Returns:
- the requested full AtlanCollection, optionally complete with all of its relationships
- Throws:
AtlanException
- on any error during the API invocation, such as theNotFoundException
if the AtlanCollection does not exist or the provided GUID is not a AtlanCollection
-
restore
Restore the archived (soft-deleted) AtlanCollection to active.- Parameters:
qualifiedName
- for the AtlanCollection- Returns:
- true if the AtlanCollection is now active, and false otherwise
- Throws:
AtlanException
- on any API problems
-
restore
Restore the archived (soft-deleted) AtlanCollection to active.- Parameters:
client
- connectivity to the Atlan tenant on which to restore the assetqualifiedName
- for the AtlanCollection- Returns:
- true if the AtlanCollection is now active, and false otherwise
- Throws:
AtlanException
- on any API problems
-
addApiTokenAsAdmin
Add the API token configured for the default client as an admin for this AtlanCollection. This is necessary to allow the API token to manage the collection itself or any queries within it.- Parameters:
impersonationToken
- a bearer token for an actual user who is already an admin for the AtlanCollection, NOT an API token- Throws:
AtlanException
- on any error during API invocation
-
addApiTokenAsViewer
Add the API token configured for the default client as a viewer for this AtlanCollection. This is necessary to allow the API token to view or run queries within the collection, but not make any changes to them.- Parameters:
impersonationToken
- a bearer token for an actual user who is already an admin for the AtlanCollection, NOT an API token- Throws:
AtlanException
- on any error during API invocation
-
creator
Builds the minimal object necessary to create an AltanCollection.- Parameters:
client
- connectivity to the Atlan tenantname
- of the AtlanCollection as the user who will own the AtlanCollection- Returns:
- the minimal request necessary to create the AtlanCollection, as a builder
-
generateQualifiedName
Generate a unique AltanCollection name.- Parameters:
client
- connectivity to the Atlan tenant as the user who will own the AtlanCollection- Returns:
- a unique name for the AltanCollection
-
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.- Overrides:
save
in classAsset
- 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.- Overrides:
save
in classAsset
- Parameters:
client
- connectivity to the Atlan tenant where this collection should be saved- 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.- Overrides:
save
in classAsset
- 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 AsyncCreationResponse 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.- Overrides:
save
in classAsset
- Parameters:
client
- connectivity to the Atlan tenant where this collection 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
-
updater
public static AtlanCollection.AtlanCollectionBuilder<?,?> updater(String qualifiedName, String name) Builds the minimal object necessary to update a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the minimal request necessary to update the AtlanCollection, as a builder
-
trimToRequired
Builds the minimal object necessary to apply an update to a AtlanCollection, from a potentially more-complete AtlanCollection object.- Overrides:
trimToRequired
in classAsset
- Returns:
- the minimal object necessary to update the AtlanCollection, as a builder
- Throws:
InvalidRequestException
- if any of the minimal set of required properties for AtlanCollection are not found in the initial object
-
findByName
Find a collection by its human-readable name. Only the bare minimum set of attributes and no relationships will be retrieved for the collection, if found.- Parameters:
name
- of the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
findByName
public static List<AtlanCollection> findByName(String name, Collection<String> attributes) throws AtlanException Find a collection by its human-readable name.- Parameters:
name
- of the collectionattributes
- an optional collection of attributes (unchecked) to retrieve for the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
findByName
public static List<AtlanCollection> findByName(String name, List<AtlanField> attributes) throws AtlanException Find a collection by its human-readable name.- Parameters:
name
- of the collectionattributes
- an optional collection of attributes (checked) to retrieve for the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
findByName
public static List<AtlanCollection> findByName(AtlanClient client, String name) throws AtlanException Find a collection by its human-readable name. Only the bare minimum set of attributes and no relationships will be retrieved for the collection, if found.- Parameters:
client
- connectivity to the Atlan tenant in which to search for the collectionname
- of the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
findByName
public static List<AtlanCollection> findByName(AtlanClient client, String name, Collection<String> attributes) throws AtlanException Find a collection by its human-readable name.- Parameters:
client
- connectivity to the Atlan tenant in which to search for the collectionname
- of the collectionattributes
- an optional collection of attributes to retrieve for the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
findByName
public static List<AtlanCollection> findByName(AtlanClient client, String name, List<AtlanField> attributes) throws AtlanException Find a collection by its human-readable name.- Parameters:
client
- connectivity to the Atlan tenant in which to search for the collectionname
- of the collectionattributes
- an optional collection of attributes (checked) to retrieve for the collection- Returns:
- all collections with that name, if found
- Throws:
AtlanException
- on any API problemsNotFoundException
- if the collection does not exist
-
removeDescription
public static AtlanCollection removeDescription(String qualifiedName, String name) throws AtlanException Remove the system description from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeDescription
public static AtlanCollection removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the system description from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's descriptionqualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeUserDescription
public static AtlanCollection removeUserDescription(String qualifiedName, String name) throws AtlanException Remove the user's description from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeUserDescription
public static AtlanCollection removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the user's description from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant on which to remove the asset's descriptionqualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeOwners
Remove the owners from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeOwners
public static AtlanCollection removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the owners from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant from which to remove the AtlanCollection's ownersqualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
updateCertificate
public static AtlanCollection updateCertificate(String qualifiedName, CertificateStatus certificate, String message) throws AtlanException Update the certificate on a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectioncertificate
- to usemessage
- (optional) message, or null if no message- Returns:
- the updated AtlanCollection, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
updateCertificate
public static AtlanCollection updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException Update the certificate on a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant on which to update the AtlanCollection's certificatequalifiedName
- of the AtlanCollectioncertificate
- to usemessage
- (optional) message, or null if no message- Returns:
- the updated AtlanCollection, or null if the update failed
- Throws:
AtlanException
- on any API problems
-
removeCertificate
public static AtlanCollection removeCertificate(String qualifiedName, String name) throws AtlanException Remove the certificate from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeCertificate
public static AtlanCollection removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the certificate from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant from which to remove the AtlanCollection's certificatequalifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
updateAnnouncement
public static AtlanCollection updateAnnouncement(String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException Update the announcement on a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectiontype
- 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
-
updateAnnouncement
public static AtlanCollection updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException Update the announcement on a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant on which to update the AtlanCollection's announcementqualifiedName
- of the AtlanCollectiontype
- 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
public static AtlanCollection removeAnnouncement(String qualifiedName, String name) throws AtlanException Remove the announcement from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
removeAnnouncement
public static AtlanCollection removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the announcement from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan client from which to remove the AtlanCollection's announcementqualifiedName
- of the AtlanCollectionname
- of the AtlanCollection- Returns:
- the updated AtlanCollection, or null if the removal failed
- Throws:
AtlanException
- on any API problems
-
replaceTerms
public static AtlanCollection replaceTerms(String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException Replace the terms linked to the AtlanCollection.- Parameters:
qualifiedName
- for the AtlanCollectionname
- human-readable name of the AtlanCollectionterms
- the list of terms to replace on the AtlanCollection, or null to remove all terms from the AtlanCollection- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the replaced terms)
- Throws:
AtlanException
- on any API problems
-
replaceTerms
public static AtlanCollection replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException Replace the terms linked to the AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant on which to replace the AtlanCollection's assigned termsqualifiedName
- for the AtlanCollectionname
- human-readable name of the AtlanCollectionterms
- the list of terms to replace on the AtlanCollection, or null to remove all terms from the AtlanCollection- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the replaced terms)
- Throws:
AtlanException
- on any API problems
-
appendTerms
public static AtlanCollection appendTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Link additional terms to the AtlanCollection, without replacing existing terms linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection's existing terms, and a second to append the new terms.- Parameters:
qualifiedName
- for the AtlanCollectionterms
- the list of terms to append to the AtlanCollection- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the appended terms)
- Throws:
AtlanException
- on any API problems
-
appendTerms
public static AtlanCollection appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Link additional terms to the AtlanCollection, without replacing existing terms linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection'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 AtlanCollectionqualifiedName
- for the AtlanCollectionterms
- the list of terms to append to the AtlanCollection- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the appended terms)
- Throws:
AtlanException
- on any API problems
-
removeTerms
public static AtlanCollection removeTerms(String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Remove terms from a AtlanCollection, without replacing all existing terms linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection's existing terms, and a second to remove the provided terms.- Parameters:
qualifiedName
- for the AtlanCollectionterms
- the list of terms to remove from the AtlanCollection, which must be referenced by GUID- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the resulting terms)
- Throws:
AtlanException
- on any API problems
-
removeTerms
public static AtlanCollection removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Remove terms from a AtlanCollection, without replacing all existing terms linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection's existing terms, and a second to remove the provided terms.- Parameters:
client
- connectivity to the Atlan tenant from which to remove terms from the AtlanCollectionqualifiedName
- for the AtlanCollectionterms
- the list of terms to remove from the AtlanCollection, which must be referenced by GUID- Returns:
- the AtlanCollection that was updated (note that it will NOT contain details of the resulting terms)
- Throws:
AtlanException
- on any API problems
-
appendAtlanTags
public static AtlanCollection appendAtlanTags(String qualifiedName, List<String> atlanTagNames) throws AtlanException Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection's existing Atlan tags, and a second to append the new Atlan tags.- Parameters:
qualifiedName
- of the AtlanCollectionatlanTagNames
- human-readable names of the Atlan tags to add- Returns:
- the updated AtlanCollection
- Throws:
AtlanException
- on any API problems
-
appendAtlanTags
public static AtlanCollection appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection'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 AtlanCollectionqualifiedName
- of the AtlanCollectionatlanTagNames
- human-readable names of the Atlan tags to add- Returns:
- the updated AtlanCollection
- Throws:
AtlanException
- on any API problems
-
appendAtlanTags
public static AtlanCollection appendAtlanTags(String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection's existing Atlan tags, and a second to append the new Atlan tags.- Parameters:
qualifiedName
- of the AtlanCollectionatlanTagNames
- 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 updated AtlanCollection
- Throws:
AtlanException
- on any API problems
-
appendAtlanTags
public static AtlanCollection appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException Add Atlan tags to a AtlanCollection, without replacing existing Atlan tags linked to the AtlanCollection. Note: this operation must make two API calls — one to retrieve the AtlanCollection'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 AtlanCollectionqualifiedName
- of the AtlanCollectionatlanTagNames
- 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 updated AtlanCollection
- Throws:
AtlanException
- on any API problems
-
removeAtlanTag
Remove an Atlan tag from a AtlanCollection.- Parameters:
qualifiedName
- of the AtlanCollectionatlanTagName
- human-readable name of the Atlan tag to remove- Throws:
AtlanException
- on any API problems, or if the Atlan tag does not exist on the AtlanCollection
-
removeAtlanTag
public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException Remove an Atlan tag from a AtlanCollection.- Parameters:
client
- connectivity to the Atlan tenant from which to remove an Atlan tag from a AtlanCollectionqualifiedName
- of the AtlanCollectionatlanTagName
- human-readable name of the Atlan tag to remove- Throws:
AtlanException
- on any API problems, or if the Atlan tag does not exist on the AtlanCollection
-
_internal
-
toBuilder
-
getChildrenFolders
TBC- Specified by:
getChildrenFolders
in interfaceIAtlanCollection
- Specified by:
getChildrenFolders
in interfaceINamespace
-
getChildrenQueries
TBC- Specified by:
getChildrenQueries
in interfaceIAtlanCollection
- Specified by:
getChildrenQueries
in interfaceINamespace
-
getIcon
TBC- Specified by:
getIcon
in interfaceIAtlanCollection
-
getIconType
TBC- Specified by:
getIconType
in interfaceIAtlanCollection
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
Description copied from class:AtlanObject
-
getTypeName
Fixed typeName for AtlanCollections.- Specified by:
getTypeName
in interfaceAuditDetail
- Specified by:
getTypeName
in interfaceIAsset
- Specified by:
getTypeName
in interfaceIAtlanCollection
- Specified by:
getTypeName
in interfaceINamespace
- Specified by:
getTypeName
in interfaceIReferenceable
- Overrides:
getTypeName
in classReference
-