Package com.atlan.model.assets
Class Connection
java.lang.Object
com.atlan.model.core.AtlanObject
com.atlan.model.relations.Reference
com.atlan.model.assets.Asset
com.atlan.model.assets.Connection
- All Implemented Interfaces:
IAsset,IConnection,IReferenceable,AuditDetail,Serializable,Comparable<Reference>
@Generated("com.atlan.generators.ModelGeneratorV2")
public class Connection
extends Asset
implements IConnection, IAsset, IReferenceable
Instance of a connection to a data source in Atlan.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConnection.ConnectionBuilder<C extends Connection,B extends Connection.ConnectionBuilder<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
FieldsFields inherited from class com.atlan.model.core.AtlanObject
rawJsonObjectFields 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, APPLICATION, APPLICATION_FIELD, APPLICATION_FIELD_QUALIFIED_NAME, APPLICATION_QUALIFIED_NAME, 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_DQ_FRESHNESS_EXPECTATION, ASSET_DQ_FRESHNESS_VALUE, ASSET_DQ_RESULT, ASSET_DQ_ROW_SCOPE_FILTER_COLUMN_QUALIFIED_NAME, ASSET_DQ_RULE_ATTACHED_DIMENSIONS, ASSET_DQ_RULE_ATTACHED_RULE_TYPES, ASSET_DQ_RULE_FAILED_COUNT, ASSET_DQ_RULE_FAILED_DIMENSIONS, ASSET_DQ_RULE_FAILED_RULE_TYPES, ASSET_DQ_RULE_LAST_RUN_AT, ASSET_DQ_RULE_PASSED_COUNT, ASSET_DQ_RULE_PASSED_DIMENSIONS, ASSET_DQ_RULE_PASSED_RULE_TYPES, ASSET_DQ_RULE_RESULT_TAGS, ASSET_DQ_RULE_TOTAL_COUNT, ASSET_DQ_SCHEDULE_CRONTAB, ASSET_DQ_SCHEDULE_SOURCE_SYNC_ERROR_CODE, ASSET_DQ_SCHEDULE_SOURCE_SYNC_ERROR_MESSAGE, ASSET_DQ_SCHEDULE_SOURCE_SYNC_RAW_ERROR, ASSET_DQ_SCHEDULE_SOURCE_SYNC_STATUS, ASSET_DQ_SCHEDULE_SOURCE_SYNCED_AT, ASSET_DQ_SCHEDULE_TIME_ZONE, ASSET_DQ_SCHEDULE_TYPE, ASSET_EXTERNAL_DQ_METADATA_DETAILS, ASSET_ICON, ASSET_INTERNAL_POPULARITY_SCORE, 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_IS_MONITORED, 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_REDIRECT_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_SOURCE_README, ASSET_SPACE_NAME, ASSET_SPACE_QUALIFIED_NAME, ASSET_TAGS, ASSET_THEME_HEX, ASSET_USER_DEFINED_TYPE, CERTIFICATE_STATUS, CERTIFICATE_STATUS_MESSAGE, CERTIFICATE_UPDATED_AT, CERTIFICATE_UPDATED_BY, CONNECTION_NAME, CONNECTION_QUALIFIED_NAME, CONNECTOR_NAME, CONNECTOR_TYPE, CUSTOM_CONNECTOR_TYPE, DATA_CONTRACT_LATEST, DATA_CONTRACT_LATEST_CERTIFIED, DBT_QUALIFIED_NAME, DESCRIPTION, DISPLAY_NAME, DOMAIN_GUIDS, DQ_BASE_DATASET_RULES, DQ_REFERENCE_DATASET_RULES, 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, OUTPUT_PRODUCT_GUIDS, OWNER_GROUPS, OWNER_USERS, POPULARITY_SCORE, PRODUCT_GUIDS, 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_USERSFields inherited from interface com.atlan.model.assets.IConnection
ALLOW_QUERY, ALLOW_QUERY_PREVIEW, CATEGORY, CONNECTION_DBT_ENVIRONMENTS, CONNECTION_DQ_CREDENTIAL_GUID, CONNECTION_DQ_ENVIRONMENT_SETUP_ERROR_MESSAGE, CONNECTION_DQ_ENVIRONMENT_SETUP_STATUS, CONNECTION_DQ_ENVIRONMENT_SETUP_STATUS_UPDATED_AT, CONNECTION_DQ_ENVIRONMENT_SOURCE_DATABASE_NAME, CONNECTION_IS_DQ_ENABLED, CONNECTION_SSO_CREDENTIAL_GUID, CONNECTION_WORKFLOW_CONFIGURATION, CONNECTOR_ICON, CONNECTOR_IMAGE, CREDENTIAL_STRATEGY, DEFAULT_CREDENTIAL_GUID, HAS_POPULARITY_INSIGHTS, HOST, INPUT_TO_CONNECTION_PROCESSES, IS_SAMPLE_DATA_PREVIEW_ENABLED, OBJECT_STORAGE_UPLOAD_THRESHOLD, OUTPUT_FROM_CONNECTION_PROCESSES, POLICY_STRATEGY, POLICY_STRATEGY_FOR_SAMPLE_PREVIEW, POPULARITY_INSIGHTS_TIMEFRAME, PORT, PREVIEW_CREDENTIAL_STRATEGY, QUERY_CONFIG, QUERY_PREVIEW_CONFIG, QUERY_TIMEOUT, QUERY_USERNAME_STRATEGY, ROW_LIMIT, SOURCE_LOGO, SUB_CATEGORY, USE_OBJECT_STORAGE, VECTOR_EMBEDDINGS_ENABLED, VECTOR_EMBEDDINGS_UPDATED_ATFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Connection.ConnectionBuilder<?, ?> addApiTokenAsAdmin(AtlanClient client, String impersonationToken) Add the API token configured for the default client as an admin for this Connection.static ConnectionappendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) Deprecated.static ConnectionappendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) static ConnectionappendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) Deprecated.protected booleanstatic Connection.ConnectionBuilder<?, ?> creator(AtlanClient client, String name, AtlanConnectorType connectorType) Builds the minimal object necessary to create a connection, using "All Admins" as the default set of connection admins.static Connection.ConnectionBuilder<?, ?> creator(AtlanClient client, String name, AtlanConnectorType connectorType, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers) Builds the minimal object necessary to create a connection.static Connection.ConnectionBuilder<?, ?> creator(AtlanClient client, String name, String connectorName, AtlanConnectionCategory category) Builds the minimal object necessary to create a connection, using "All Admins" as the default set of connection admins.static Connection.ConnectionBuilder<?, ?> creator(AtlanClient client, String name, String connectorName, AtlanConnectionCategory category, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers) Builds the minimal object necessary to create a connection.booleanstatic List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type) Find a connection by its human-readable name and type.static List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type, Collection<String> attributes) Find a connection by its human-readable name and type.static List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type, List<AtlanField> attributes) Find a connection by its human-readable name and type.static List<Connection> findByName(AtlanClient client, String name, String type) Find a connection by its human-readable name and type.static List<Connection> findByName(AtlanClient client, String name, String type, Collection<String> attributes) Find a connection by its human-readable name and type.static List<Connection> findByName(AtlanClient client, String name, String type, List<AtlanField> attributes) Find a connection by its human-readable name and type.static StringgenerateQualifiedName(AtlanConnectorType connectorType) Generate a unique connection name.static Connectionget(AtlanClient client, String id) Retrieves a Connection by one of its identifiers, complete with all of its relationships.static Connectionget(AtlanClient client, String id, boolean includeAllRelationships) Retrieves a Connection by one of its identifiers, optionally complete with all of its relationships.static Connectionget(AtlanClient client, String id, Collection<AtlanField> attributes) Retrieves a Connection by one of its identifiers, with only the requested attributes (and relationships).static Connectionget(AtlanClient client, String id, Collection<AtlanField> attributes, Collection<AtlanField> attributesOnRelated) Retrieves a Connection by one of its identifiers, with only the requested attributes (and relationships).Whether using this connection to run queries on the source is allowed (true) or not (false).Whether using this connection to run preview queries on the source is allowed (true) or not (false).getAllQualifiedNames(AtlanClient client) Retrieve the qualifiedNames of all connections that exist in Atlan.Type of connection, for example WAREHOUSE, RDBMS, etc.TBCUnique identifier (GUID) for the data quality credentials to use for this connection.Error message if data quality environment setup failed for this connection.Status of the data quality environment setup for this connection.Timestamp when the data quality environment setup status was last updated.Name of the database in the source environment for data quality.Whether data quality is enabled for this connection (true) or not (false).Unique identifier (GUID) for the SSO credentials to use for this connection.Configuration for a workflow run.static StringgetConnectorFromQualifiedName(String qualifiedName) Determine the connector type from the provided qualifiedName.static StringgetConnectorFromQualifiedName(String[] tokens) Determine the connector type from the provided qualifiedName.Unused.Unused.static AtlanConnectorTypegetConnectorTypeFromQualifiedName(String qualifiedName) Determine the connector type from the provided qualifiedName.static AtlanConnectorTypegetConnectorTypeFromQualifiedName(String[] tokens) Determine the connector type from the provided qualifiedName.Credential strategy to use for this connection for queries.Unique identifier (GUID) for the default credentials to use for this connection.static StringgetEpochFromQualifiedName(String qualifiedName) Retrieve the epoch component of the connection name from its qualifiedName.Whether this connection has popularity insights (true) or not (false).getHost()Host name of this connection's source.Connection process to which this asset provides input.Whether sample data can be previewed for this connection (true) or not (false).Number of rows after which results should be uploaded to storage.Connection processs from which this asset is produced as output.Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten, applicable for stream api call made from insight screenPolicy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten.Number of days over which popularity is calculated, for example 30 days.getPort()Port number to this connection's source.Credential strategy to use for this connection for preview queries.Query config for this connection.Configuration for preview queries.Maximum time a query should be allowed to run before timing out.Username strategy to use for this connection for queries.Maximum number of rows that can be returned for the source.Unused.Subcategory of this connection.Fixed typeName for Connections.Whether to upload to S3, GCP, or another storage location (true) or not (false).TBCTBCinthashCode()static ConnectionReference to a Connection by GUID.static ConnectionrefByGuid(String guid, Reference.SaveSemantic semantic) Reference to a Connection by GUID.static ConnectionrefByQualifiedName(String qualifiedName) Reference to a Connection by qualifiedName.static ConnectionrefByQualifiedName(String qualifiedName, Reference.SaveSemantic semantic) Reference to a Connection by qualifiedName.static ConnectionremoveAnnouncement(AtlanClient client, String qualifiedName, String name) Remove the announcement from a Connection.static voidremoveAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) Deprecated.static ConnectionremoveCertificate(AtlanClient client, String qualifiedName, String name) Remove the certificate from a Connection.static ConnectionremoveDescription(AtlanClient client, String qualifiedName, String name) Remove the system description from a Connection.static ConnectionremoveOwners(AtlanClient client, String qualifiedName, String name) Remove the owners from a Connection.static ConnectionremoveTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) Deprecated.static ConnectionremoveUserDescription(AtlanClient client, String qualifiedName, String name) Remove the user's description from a Connection.static ConnectionreplaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) Replace the terms linked to the Connection.static booleanrestore(AtlanClient client, String qualifiedName) Restore the archived (soft-deleted) Connection to active.save(AtlanClient client) If an asset with the same qualifiedName exists, updates the existing asset.save(AtlanClient client, boolean replaceAtlanTags) Deprecated.static FluentSearch.FluentSearchBuilder<?, ?> select(AtlanClient client) Start a fluent search that will return all Connection assets.static FluentSearch.FluentSearchBuilder<?, ?> select(AtlanClient client, boolean includeArchived) Start a fluent search that will return all Connection assets.toString()Builds the minimal object necessary to create a relationship to a Connection, from a potentially more-complete Connection object.Builds the minimal object necessary to apply an update to a Connection, from a potentially more-complete Connection object.static ConnectionupdateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) Update the announcement on a Connection.static ConnectionupdateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) Update the certificate on a Connection.static Connection.ConnectionBuilder<?, ?> Builds the minimal object necessary to update a Connection.Methods inherited from class com.atlan.model.assets.Asset
addApiTokenAsAdmin, appendAtlanTags, appendAtlanTags, appendTerms, delete, get, getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getApplication, getApplicationField, getApplicationFieldQualifiedName, getApplicationQualifiedName, 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, getAssetDQFreshnessExpectation, getAssetDQFreshnessValue, getAssetDQResult, getAssetDQRowScopeFilterColumnQualifiedName, getAssetDQRuleAttachedDimensions, getAssetDQRuleAttachedRuleTypes, getAssetDQRuleFailedCount, getAssetDQRuleFailedDimensions, getAssetDQRuleFailedRuleTypes, getAssetDQRuleLastRunAt, getAssetDQRulePassedCount, getAssetDQRulePassedDimensions, getAssetDQRulePassedRuleTypes, getAssetDQRuleResultTags, getAssetDQRuleTotalCount, getAssetDQScheduleCrontab, getAssetDQScheduleSourceSyncedAt, getAssetDQScheduleSourceSyncErrorCode, getAssetDQScheduleSourceSyncErrorMessage, getAssetDQScheduleSourceSyncRawError, getAssetDQScheduleSourceSyncStatus, getAssetDQScheduleTimeZone, getAssetDQScheduleType, getAssetExternalDQMetadataDetails, getAssetIcon, getAssetInternalPopularityScore, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcIsMonitored, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetRedirectGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetSourceReadme, getAssetSpaceName, getAssetSpaceQualifiedName, getAssetTags, getAssetThemeHex, getAssetUserDefinedType, getAssignedTerms, getAtlanTagNames, getAtlanTags, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorName, getConnectorType, getCreatedBy, getCreateTime, getCustomConnectorType, getCustomMetadata, getCustomMetadataSets, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDeleteHandler, getDepth, getDescription, getDisplayName, getDomainGUIDs, getDqBaseDatasetRules, getDqReferenceDatasetRules, getFiles, getHasContract, getHasLineage, getIconUrl, getImmediateDownstream, getImmediateUpstream, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsIncomplete, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMeaningNames, getMeanings, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getNullFields, getOutputPortDataProducts, getOutputProductGUIDs, getOwnerGroups, getOwnerUsers, getPendingTasks, getPopularityScore, getProductGUIDs, 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, purge, removeAnnouncement, removeAtlanTag, removeCertificate, removeCustomMetadata, removeDescription, removeOwners, removeTerms, removeUserDescription, replaceCustomMetadata, replaceTerms, requestLineage, restore, saveMergingCM, saveMergingCM, saveReplacingCM, saveReplacingCM, updateAnnouncement, updateAnnouncement, updateCertificate, updateCertificate, updateCustomMetadataAttributes, updateMergingCM, updateMergingCM, updateReplacingCM, updateReplacingCMMethods 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, validateRequiredMethods inherited from class com.atlan.model.core.AtlanObject
getRawJsonObject, setRawJsonObject, toJsonMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.atlan.model.search.AuditDetail
getRawJsonObject, setRawJsonObjectMethods inherited from interface com.atlan.model.assets.IAsset
getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getApplication, getApplicationField, getApplicationFieldQualifiedName, getApplicationQualifiedName, 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, getAssetDQFreshnessExpectation, getAssetDQFreshnessValue, getAssetDQResult, getAssetDQRowScopeFilterColumnQualifiedName, getAssetDQRuleAttachedDimensions, getAssetDQRuleAttachedRuleTypes, getAssetDQRuleFailedCount, getAssetDQRuleFailedDimensions, getAssetDQRuleFailedRuleTypes, getAssetDQRuleLastRunAt, getAssetDQRulePassedCount, getAssetDQRulePassedDimensions, getAssetDQRulePassedRuleTypes, getAssetDQRuleResultTags, getAssetDQRuleTotalCount, getAssetDQScheduleCrontab, getAssetDQScheduleSourceSyncedAt, getAssetDQScheduleSourceSyncErrorCode, getAssetDQScheduleSourceSyncErrorMessage, getAssetDQScheduleSourceSyncRawError, getAssetDQScheduleSourceSyncStatus, getAssetDQScheduleTimeZone, getAssetDQScheduleType, getAssetExternalDQMetadataDetails, getAssetIcon, getAssetInternalPopularityScore, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcIsMonitored, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetRedirectGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetSourceReadme, getAssetSpaceName, getAssetSpaceQualifiedName, getAssetTags, getAssetThemeHex, getAssetUserDefinedType, getAssignedTerms, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorName, getConnectorType, getCustomConnectorType, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDescription, getDisplayName, getDisplayText, getDomainGUIDs, getDqBaseDatasetRules, getDqReferenceDatasetRules, getEntityStatus, getFiles, getGuid, getHasContract, getHasLineage, getIconUrl, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getOutputPortDataProducts, getOutputProductGUIDs, getOwnerGroups, getOwnerUsers, getPopularityScore, getProductGUIDs, 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, isValidReferenceByQualifiedNameMethods inherited from interface com.atlan.model.assets.IConnection
getAdminGroups, getAdminRoles, getAdminUsers, getAnnouncementMessage, getAnnouncementTitle, getAnnouncementType, getAnnouncementUpdatedAt, getAnnouncementUpdatedBy, getAnomaloChecks, getApplication, getApplicationField, getApplicationFieldQualifiedName, getApplicationQualifiedName, 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, getAssetDQFreshnessExpectation, getAssetDQFreshnessValue, getAssetDQResult, getAssetDQRowScopeFilterColumnQualifiedName, getAssetDQRuleAttachedDimensions, getAssetDQRuleAttachedRuleTypes, getAssetDQRuleFailedCount, getAssetDQRuleFailedDimensions, getAssetDQRuleFailedRuleTypes, getAssetDQRuleLastRunAt, getAssetDQRulePassedCount, getAssetDQRulePassedDimensions, getAssetDQRulePassedRuleTypes, getAssetDQRuleResultTags, getAssetDQRuleTotalCount, getAssetDQScheduleCrontab, getAssetDQScheduleSourceSyncedAt, getAssetDQScheduleSourceSyncErrorCode, getAssetDQScheduleSourceSyncErrorMessage, getAssetDQScheduleSourceSyncRawError, getAssetDQScheduleSourceSyncStatus, getAssetDQScheduleTimeZone, getAssetDQScheduleType, getAssetExternalDQMetadataDetails, getAssetIcon, getAssetInternalPopularityScore, getAssetMcAlertQualifiedNames, getAssetMcIncidentNames, getAssetMcIncidentPriorities, getAssetMcIncidentQualifiedNames, getAssetMcIncidentSeverities, getAssetMcIncidentStates, getAssetMcIncidentSubTypes, getAssetMcIncidentTypes, getAssetMcIsMonitored, getAssetMcLastSyncRunAt, getAssetMcMonitorNames, getAssetMcMonitorQualifiedNames, getAssetMcMonitorScheduleTypes, getAssetMcMonitorStatuses, getAssetMcMonitorTypes, getAssetPoliciesCount, getAssetPolicyGUIDs, getAssetRedirectGUIDs, getAssetSodaCheckCount, getAssetSodaCheckStatuses, getAssetSodaDQStatus, getAssetSodaLastScanAt, getAssetSodaLastSyncRunAt, getAssetSodaSourceURL, getAssetSourceReadme, getAssetSpaceName, getAssetSpaceQualifiedName, getAssetTags, getAssetThemeHex, getAssetUserDefinedType, getAssignedTerms, getCertificateStatus, getCertificateStatusMessage, getCertificateUpdatedAt, getCertificateUpdatedBy, getConnectionName, getConnectionQualifiedName, getConnectorName, getConnectorType, getCustomConnectorType, getDataContractLatest, getDataContractLatestCertified, getDbtQualifiedName, getDescription, getDisplayName, getDisplayText, getDomainGUIDs, getDqBaseDatasetRules, getDqReferenceDatasetRules, getEntityStatus, getFiles, getGuid, getHasContract, getHasLineage, getIconUrl, getInputPortDataProducts, getIsAIGenerated, getIsDiscoverable, getIsEditable, getIsPartial, getLastRowChangedAt, getLastSyncRun, getLastSyncRunAt, getLastSyncWorkflowName, getLexicographicalSortOrder, getLinks, getMcIncidents, getMcMonitors, getMetrics, getName, getNonCompliantAssetPolicyGUIDs, getOutputPortDataProducts, getOutputProductGUIDs, getOwnerGroups, getOwnerUsers, getPopularityScore, getProductGUIDs, 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, isValidReferenceByQualifiedNameMethods 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
-
Connection
-
-
Method Details
-
trimToReference
Builds the minimal object necessary to create a relationship to a Connection, from a potentially more-complete Connection object.- Overrides:
trimToReferencein classAsset- Returns:
- the minimal object necessary to relate to the Connection
- Throws:
InvalidRequestException- if any of the minimal set of required properties for a Connection relationship are not found in the initial object
-
select
Start a fluent search that will return all Connection 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) Connection assets will be included.- Parameters:
client- connectivity to the Atlan tenant from which to retrieve the assets- Returns:
- a fluent search that includes all Connection assets
-
select
public static FluentSearch.FluentSearchBuilder<?,?> select(AtlanClient client, boolean includeArchived) Start a fluent search that will return all Connection 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) Connections will be included- Returns:
- a fluent search that includes all Connection assets
-
refByGuid
Reference to a Connection by GUID. Use this to create a relationship to this Connection, where the relationship should be replaced.- Parameters:
guid- the GUID of the Connection to reference- Returns:
- reference to a Connection that can be used for defining a relationship to a Connection
-
refByGuid
Reference to a Connection by GUID. Use this to create a relationship to this Connection, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).- Parameters:
guid- the GUID of the Connection to referencesemantic- how to save this relationship (replace all with this, append it, or remove it)- Returns:
- reference to a Connection that can be used for defining a relationship to a Connection
-
refByQualifiedName
Reference to a Connection by qualifiedName. Use this to create a relationship to this Connection, where the relationship should be replaced.- Parameters:
qualifiedName- the qualifiedName of the Connection to reference- Returns:
- reference to a Connection that can be used for defining a relationship to a Connection
-
refByQualifiedName
Reference to a Connection by qualifiedName. Use this to create a relationship to this Connection, where you want to further control how that relationship should be updated (i.e. replaced, appended, or removed).- Parameters:
qualifiedName- the qualifiedName of the Connection to referencesemantic- how to save this relationship (replace all with this, append it, or remove it)- Returns:
- reference to a Connection that can be used for defining a relationship to a Connection
-
get
Retrieves a Connection 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 Connection to retrieve, either its GUID or its full qualifiedName- Returns:
- the requested full Connection, complete with all of its relationships
- Throws:
AtlanException- on any error during the API invocation, such as theNotFoundExceptionif the Connection does not exist or the provided GUID is not a Connection
-
get
public static Connection get(AtlanClient client, String id, boolean includeAllRelationships) throws AtlanException Retrieves a Connection 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 Connection to retrieve, either its GUID or its full qualifiedNameincludeAllRelationships- if true, all the asset's relationships will also be retrieved; if false, no relationships will be retrieved- Returns:
- the requested full Connection, optionally complete with all of its relationships
- Throws:
AtlanException- on any error during the API invocation, such as theNotFoundExceptionif the Connection does not exist or the provided GUID is not a Connection
-
get
public static Connection get(AtlanClient client, String id, Collection<AtlanField> attributes) throws AtlanException Retrieves a Connection by one of its identifiers, with only the requested attributes (and relationships).- Parameters:
client- connectivity to the Atlan tenant from which to retrieve the assetid- of the Connection to retrieve, either its GUID or its full qualifiedNameattributes- to retrieve for the Connection, including any relationships- Returns:
- the requested Connection, with only its minimal information and the requested attributes (and relationships)
- Throws:
AtlanException- on any error during the API invocation, such as theNotFoundExceptionif the Connection does not exist or the provided GUID is not a Connection
-
get
public static Connection get(AtlanClient client, String id, Collection<AtlanField> attributes, Collection<AtlanField> attributesOnRelated) throws AtlanException Retrieves a Connection by one of its identifiers, with only the requested attributes (and relationships).- Parameters:
client- connectivity to the Atlan tenant from which to retrieve the assetid- of the Connection to retrieve, either its GUID or its full qualifiedNameattributes- to retrieve for the Connection, including any relationshipsattributesOnRelated- to retrieve on each relationship retrieved for the Connection- Returns:
- the requested Connection, with only its minimal information and the requested attributes (and relationships)
- Throws:
AtlanException- on any error during the API invocation, such as theNotFoundExceptionif the Connection does not exist or the provided GUID is not a Connection
-
restore
Restore the archived (soft-deleted) Connection to active.- Parameters:
client- connectivity to the Atlan tenant on which to restore the assetqualifiedName- for the Connection- Returns:
- true if the Connection is now active, and false otherwise
- Throws:
AtlanException- on any API problems
-
getConnectorTypeFromQualifiedName
Determine the connector type from the provided qualifiedName.- Parameters:
qualifiedName- of the connection- Returns:
- the connector type, or null if the qualifiedName is not for a connected asset
-
getConnectorTypeFromQualifiedName
Determine the connector type from the provided qualifiedName.- Parameters:
tokens- of the qualifiedName, from which to determine the connector type- Returns:
- the connector type, or null if the qualifiedName is not for a connected asset
-
getConnectorFromQualifiedName
Determine the connector type from the provided qualifiedName.- Parameters:
qualifiedName- of the connection- Returns:
- the connector type, or null if the qualifiedName is not for a connected asset
-
getConnectorFromQualifiedName
Determine the connector type from the provided qualifiedName.- Parameters:
tokens- of the qualifiedName, from which to determine the connector type- Returns:
- the connector type, or null if the qualifiedName is not for a connected asset
-
creator
public static Connection.ConnectionBuilder<?,?> creator(AtlanClient client, String name, AtlanConnectorType connectorType) throws AtlanException Builds the minimal object necessary to create a connection, using "All Admins" as the default set of connection admins.- Parameters:
client- connectivity to the Atlan tenant where the connection is intended to be createdname- of the connectionconnectorType- type of the connection's connector (this determines what logo appears for the assets)- Returns:
- the minimal object necessary to create the connection, as a builder
- Throws:
AtlanException- on any error related to the request, such as an inability to retrieve the existing admins in the system
-
creator
public static Connection.ConnectionBuilder<?,?> creator(AtlanClient client, String name, AtlanConnectorType connectorType, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers) throws AtlanException Builds the minimal object necessary to create a connection. Note: at least one of#adminRoles,#adminGroups, or#adminUsersmust be provided or an InvalidRequestException will be thrown.- Parameters:
client- connectivity to the Atlan tenant where the connection is intended to be createdname- of the connectionconnectorType- type of the connection's connector (this determines what logo appears for the assets)adminRoles- the GUIDs of the roles that can administer this connectionadminGroups- the (internal) names of the groups that can administer this connectionadminUsers- the (internal) names of the users that can administer this connection- Returns:
- the minimal object necessary to create the connection, as a builder
- Throws:
InvalidRequestException- if no admin has been defined for the connection, or an invalid admin has been definedNotFoundException- if a non-existent admin has been defined for the connectionAtlanException- on any other error related to the request, such as an inability to retrieve the existing admins in the system
-
creator
public static Connection.ConnectionBuilder<?,?> creator(AtlanClient client, String name, String connectorName, AtlanConnectionCategory category) throws AtlanException Builds the minimal object necessary to create a connection, using "All Admins" as the default set of connection admins.- Parameters:
client- connectivity to the Atlan tenant where the connection is intended to be createdname- of the connectionconnectorName- name of the connection's connector (this determines what logo appears for the assets)category- category of the connection- Returns:
- the minimal object necessary to create the connection, as a builder
- Throws:
AtlanException- on any error related to the request, such as an inability to retrieve the existing admins in the system
-
creator
public static Connection.ConnectionBuilder<?,?> creator(AtlanClient client, String name, String connectorName, AtlanConnectionCategory category, List<String> adminRoles, List<String> adminGroups, List<String> adminUsers) throws AtlanException Builds the minimal object necessary to create a connection. Note: at least one of#adminRoles,#adminGroups, or#adminUsersmust be provided or an InvalidRequestException will be thrown.- Parameters:
client- connectivity to the Atlan tenant where the connection is intended to be createdname- of the connectionconnectorName- name of the connection's connector (this determines what logo appears for the assets)category- category of the connectionadminRoles- the GUIDs of the roles that can administer this connectionadminGroups- the (internal) names of the groups that can administer this connectionadminUsers- the (internal) names of the users that can administer this connection- Returns:
- the minimal object necessary to create the connection, as a builder
- Throws:
InvalidRequestException- if no admin has been defined for the connection, or an invalid admin has been definedNotFoundException- if a non-existent admin has been defined for the connectionAtlanException- on any other error related to the request, such as an inability to retrieve the existing admins in the system
-
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:
savein classAsset- Parameters:
client- connectivity to the Atlan tenant where this connection should be saved- Returns:
- details of the created or updated asset
- Throws:
AtlanException- on any error during the API invocationNotFoundException- if any of the provided connection admins do not actually exist
-
save
@Deprecated public AsyncCreationResponse save(AtlanClient client, boolean replaceAtlanTags) throws AtlanException Deprecated.If no asset exists, has the same behavior as thesave(AtlanClient)method. If an asset does exist, optionally overwrites any Atlan tags. Custom metadata will always be entirely ignored using this method.- Overrides:
savein classAsset- Parameters:
client- connectivity to the Atlan tenant where this connection 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 invocationNotFoundException- if any of the provided connection admins do not actually exist
-
addApiTokenAsAdmin
public AssetMutationResponse addApiTokenAsAdmin(AtlanClient client, String impersonationToken) throws AtlanException Add the API token configured for the default client as an admin for this Connection. This is necessary to allow the API token to manage policies for the connection.- Parameters:
client- connectivity to the Atlan tenantimpersonationToken- a bearer token for an actual user who is already an admin for the Connection, NOT an API token- Throws:
AtlanException- on any error during API invocation
-
generateQualifiedName
Generate a unique connection name.- Parameters:
connectorType- the name of the type of the connection's connector- Returns:
- a unique name for the connection
-
updater
Builds the minimal object necessary to update a Connection.- Parameters:
qualifiedName- of the Connectionname- of the Connection- Returns:
- the minimal request necessary to update the Connection, as a builder
-
trimToRequired
Builds the minimal object necessary to apply an update to a Connection, from a potentially more-complete Connection object.- Overrides:
trimToRequiredin classAsset- Returns:
- the minimal object necessary to update the Connection, as a builder
- Throws:
InvalidRequestException- if any of the minimal set of required properties for Connection are not found in the initial object
-
getEpochFromQualifiedName
Retrieve the epoch component of the connection name from its qualifiedName.- Parameters:
qualifiedName- of the connection- Returns:
- the epoch component of the qualifiedName
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type) throws AtlanException Find a connection by its human-readable name and type. Only the bare minimum set of attributes and no relationships will be retrieved for the connection, if found.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type, Collection<String> attributes) throws AtlanException Find a connection by its human-readable name and type.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connectionattributes- an optional collection of attributes to retrieve for the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, AtlanConnectorType type, List<AtlanField> attributes) throws AtlanException Find a connection by its human-readable name and type.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connectionattributes- an optional collection of attributes (checked) to retrieve for the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, String type) throws AtlanException Find a connection by its human-readable name and type. Only the bare minimum set of attributes and no relationships will be retrieved for the connection, if found.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, String type, Collection<String> attributes) throws AtlanException Find a connection by its human-readable name and type.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connectionattributes- an optional collection of attributes to retrieve for the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
findByName
public static List<Connection> findByName(AtlanClient client, String name, String type, List<AtlanField> attributes) throws AtlanException Find a connection by its human-readable name and type.- Parameters:
client- connectivity to the Atlan tenant in which to search for the connectionname- of the connectiontype- of the connectionattributes- an optional collection of attributes (checked) to retrieve for the connection- Returns:
- all connections with that name and type, if found
- Throws:
AtlanException- on any API problemsNotFoundException- if the connection does not exist
-
getAllQualifiedNames
Retrieve the qualifiedNames of all connections that exist in Atlan.- Parameters:
client- connectivity to the Atlan tenant from which to retrieve the qualifiedNames- Returns:
- list of all connection qualifiedNames
- Throws:
AtlanException- on any API problems
-
removeDescription
public static Connection removeDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the system description from a Connection.- Parameters:
client- connectivity to the Atlan tenant on which to remove the asset's descriptionqualifiedName- of the Connectionname- of the Connection- Returns:
- the updated Connection, or null if the removal failed
- Throws:
AtlanException- on any API problems
-
removeUserDescription
public static Connection removeUserDescription(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the user's description from a Connection.- Parameters:
client- connectivity to the Atlan tenant on which to remove the asset's descriptionqualifiedName- of the Connectionname- of the Connection- Returns:
- the updated Connection, or null if the removal failed
- Throws:
AtlanException- on any API problems
-
removeOwners
public static Connection removeOwners(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the owners from a Connection.- Parameters:
client- connectivity to the Atlan tenant from which to remove the Connection's ownersqualifiedName- of the Connectionname- of the Connection- Returns:
- the updated Connection, or null if the removal failed
- Throws:
AtlanException- on any API problems
-
updateCertificate
public static Connection updateCertificate(AtlanClient client, String qualifiedName, CertificateStatus certificate, String message) throws AtlanException Update the certificate on a Connection.- Parameters:
client- connectivity to the Atlan tenant on which to update the Connection's certificatequalifiedName- of the Connectioncertificate- to usemessage- (optional) message, or null if no message- Returns:
- the updated Connection, or null if the update failed
- Throws:
AtlanException- on any API problems
-
removeCertificate
public static Connection removeCertificate(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the certificate from a Connection.- Parameters:
client- connectivity to the Atlan tenant from which to remove the Connection's certificatequalifiedName- of the Connectionname- of the Connection- Returns:
- the updated Connection, or null if the removal failed
- Throws:
AtlanException- on any API problems
-
updateAnnouncement
public static Connection updateAnnouncement(AtlanClient client, String qualifiedName, AtlanAnnouncementType type, String title, String message) throws AtlanException Update the announcement on a Connection.- Parameters:
client- connectivity to the Atlan tenant on which to update the Connection's announcementqualifiedName- of the Connectiontype- 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 Connection removeAnnouncement(AtlanClient client, String qualifiedName, String name) throws AtlanException Remove the announcement from a Connection.- Parameters:
client- connectivity to the Atlan client from which to remove the Connection's announcementqualifiedName- of the Connectionname- of the Connection- Returns:
- the updated Connection, or null if the removal failed
- Throws:
AtlanException- on any API problems
-
replaceTerms
public static Connection replaceTerms(AtlanClient client, String qualifiedName, String name, List<IGlossaryTerm> terms) throws AtlanException Replace the terms linked to the Connection.- Parameters:
client- connectivity to the Atlan tenant on which to replace the Connection's assigned termsqualifiedName- for the Connectionname- human-readable name of the Connectionterms- the list of terms to replace on the Connection, or null to remove all terms from the Connection- Returns:
- the Connection that was updated (note that it will NOT contain details of the replaced terms)
- Throws:
AtlanException- on any API problems
-
appendTerms
@Deprecated public static Connection appendTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Deprecated.Link additional terms to the Connection, without replacing existing terms linked to the Connection. Note: this operation must make two API calls — one to retrieve the Connection'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 ConnectionqualifiedName- for the Connectionterms- the list of terms to append to the Connection- Returns:
- the Connection that was updated (note that it will NOT contain details of the appended terms)
- Throws:
AtlanException- on any API problems
-
removeTerms
@Deprecated public static Connection removeTerms(AtlanClient client, String qualifiedName, List<IGlossaryTerm> terms) throws AtlanException Deprecated.Remove terms from a Connection, without replacing all existing terms linked to the Connection. Note: this operation must make two API calls — one to retrieve the Connection'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 ConnectionqualifiedName- for the Connectionterms- the list of terms to remove from the Connection, which must be referenced by GUID- Returns:
- the Connection that was updated (note that it will NOT contain details of the resulting terms)
- Throws:
AtlanException- on any API problems
-
appendAtlanTags
@Deprecated public static Connection appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames) throws AtlanException Deprecated.Add Atlan tags to a Connection, without replacing existing Atlan tags linked to the Connection. Note: this operation must make two API calls — one to retrieve the Connection'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 ConnectionqualifiedName- of the ConnectionatlanTagNames- human-readable names of the Atlan tags to add- Returns:
- the updated Connection
- Throws:
AtlanException- on any API problems
-
appendAtlanTags
@Deprecated public static Connection appendAtlanTags(AtlanClient client, String qualifiedName, List<String> atlanTagNames, boolean propagate, boolean removePropagationsOnDelete, boolean restrictLineagePropagation) throws AtlanException Add Atlan tags to a Connection, without replacing existing Atlan tags linked to the Connection. Note: this operation must make two API calls — one to retrieve the Connection'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 ConnectionqualifiedName- of the ConnectionatlanTagNames- 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 Connection
- Throws:
AtlanException- on any API problems
-
removeAtlanTag
@Deprecated public static void removeAtlanTag(AtlanClient client, String qualifiedName, String atlanTagName) throws AtlanException Deprecated.Remove an Atlan tag from a Connection.- Parameters:
client- connectivity to the Atlan tenant from which to remove an Atlan tag from a ConnectionqualifiedName- of the ConnectionatlanTagName- 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 Connection
-
_internal
-
toBuilder
-
getAllowQuery
Whether using this connection to run queries on the source is allowed (true) or not (false).- Specified by:
getAllowQueryin interfaceIConnection
-
getAllowQueryPreview
Whether using this connection to run preview queries on the source is allowed (true) or not (false).- Specified by:
getAllowQueryPreviewin interfaceIConnection
-
getCategory
Type of connection, for example WAREHOUSE, RDBMS, etc.- Specified by:
getCategoryin interfaceIConnection
-
getConnectionDQCredentialGuid
Unique identifier (GUID) for the data quality credentials to use for this connection.- Specified by:
getConnectionDQCredentialGuidin interfaceIConnection
-
getConnectionDQEnvironmentSetupErrorMessage
Error message if data quality environment setup failed for this connection.- Specified by:
getConnectionDQEnvironmentSetupErrorMessagein interfaceIConnection
-
getConnectionDQEnvironmentSetupStatus
Status of the data quality environment setup for this connection.- Specified by:
getConnectionDQEnvironmentSetupStatusin interfaceIConnection
-
getConnectionDQEnvironmentSetupStatusUpdatedAt
Timestamp when the data quality environment setup status was last updated.- Specified by:
getConnectionDQEnvironmentSetupStatusUpdatedAtin interfaceIConnection
-
getConnectionDQEnvironmentSourceDatabaseName
Name of the database in the source environment for data quality.- Specified by:
getConnectionDQEnvironmentSourceDatabaseNamein interfaceIConnection
-
getConnectionDbtEnvironments
TBC- Specified by:
getConnectionDbtEnvironmentsin interfaceIConnection
-
getConnectionIsDQEnabled
Whether data quality is enabled for this connection (true) or not (false).- Specified by:
getConnectionIsDQEnabledin interfaceIConnection
-
getConnectionSSOCredentialGuid
Unique identifier (GUID) for the SSO credentials to use for this connection.- Specified by:
getConnectionSSOCredentialGuidin interfaceIConnection
-
getConnectionWorkflowConfiguration
Configuration for a workflow run.- Specified by:
getConnectionWorkflowConfigurationin interfaceIConnection
-
getConnectorIcon
Unused. Only the value of connectorType impacts icons.- Specified by:
getConnectorIconin interfaceIConnection
-
getConnectorImage
Unused. Only the value of connectorType impacts icons.- Specified by:
getConnectorImagein interfaceIConnection
-
getCredentialStrategy
Credential strategy to use for this connection for queries.- Specified by:
getCredentialStrategyin interfaceIConnection
-
getDefaultCredentialGuid
Unique identifier (GUID) for the default credentials to use for this connection.- Specified by:
getDefaultCredentialGuidin interfaceIConnection
-
getHasPopularityInsights
Whether this connection has popularity insights (true) or not (false).- Specified by:
getHasPopularityInsightsin interfaceIConnection
-
getHost
Host name of this connection's source.- Specified by:
getHostin interfaceIConnection
-
getInputToConnectionProcesses
Connection process to which this asset provides input.- Specified by:
getInputToConnectionProcessesin interfaceIConnection
-
getIsSampleDataPreviewEnabled
Whether sample data can be previewed for this connection (true) or not (false).- Specified by:
getIsSampleDataPreviewEnabledin interfaceIConnection
-
getObjectStorageUploadThreshold
Number of rows after which results should be uploaded to storage.- Specified by:
getObjectStorageUploadThresholdin interfaceIConnection
-
getOutputFromConnectionProcesses
Connection processs from which this asset is produced as output.- Specified by:
getOutputFromConnectionProcessesin interfaceIConnection
-
getPolicyStrategy
Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten, applicable for stream api call made from insight screen- Specified by:
getPolicyStrategyin interfaceIConnection
-
getPolicyStrategyForSamplePreview
Policy strategy is a configuration that determines whether the Atlan policy will be applied to the results of insight queries and whether the query will be rewritten. policyStrategyForSamplePreview config is applicable for sample preview call from assets screen- Specified by:
getPolicyStrategyForSamplePreviewin interfaceIConnection
-
getPopularityInsightsTimeframe
Number of days over which popularity is calculated, for example 30 days.- Specified by:
getPopularityInsightsTimeframein interfaceIConnection
-
getPort
Port number to this connection's source.- Specified by:
getPortin interfaceIConnection
-
getPreviewCredentialStrategy
Credential strategy to use for this connection for preview queries.- Specified by:
getPreviewCredentialStrategyin interfaceIConnection
-
getQueryConfig
Query config for this connection.- Specified by:
getQueryConfigin interfaceIConnection
-
getQueryPreviewConfig
Configuration for preview queries.- Specified by:
getQueryPreviewConfigin interfaceIConnection
-
getQueryTimeout
Maximum time a query should be allowed to run before timing out.- Specified by:
getQueryTimeoutin interfaceIConnection
-
getQueryUsernameStrategy
Username strategy to use for this connection for queries.- Specified by:
getQueryUsernameStrategyin interfaceIConnection
-
getRowLimit
Maximum number of rows that can be returned for the source.- Specified by:
getRowLimitin interfaceIConnection
-
getSourceLogo
Unused. Only the value of connectorType impacts icons.- Specified by:
getSourceLogoin interfaceIConnection
-
getSubCategory
Subcategory of this connection.- Specified by:
getSubCategoryin interfaceIConnection
-
getUseObjectStorage
Whether to upload to S3, GCP, or another storage location (true) or not (false).- Specified by:
getUseObjectStoragein interfaceIConnection
-
getVectorEmbeddingsEnabled
TBC- Specified by:
getVectorEmbeddingsEnabledin interfaceIConnection
-
getVectorEmbeddingsUpdatedAt
TBC- Specified by:
getVectorEmbeddingsUpdatedAtin interfaceIConnection
-
equals
-
canEqual
-
hashCode
public int hashCode() -
toString
Description copied from class:AtlanObject -
getTypeName
Fixed typeName for Connections.- Specified by:
getTypeNamein interfaceAuditDetail- Specified by:
getTypeNamein interfaceIAsset- Specified by:
getTypeNamein interfaceIConnection- Specified by:
getTypeNamein interfaceIReferenceable- Overrides:
getTypeNamein classReference
-
Asset.AssetBuilder.appendAtlanTags(List)